Skip to content

Crashes due to ex->opline being null #9933

Closed
@arnaud-lb

Description

@arnaud-lb

Description

I've noticed some crashes in zend_mm_safe_error() due to ex->opline being null in zend_get_executed_lineno().

ex->opline is normally set by SAVE_OPLINE() in opcode handlers, but some opcode handlers do not call SAVE_OPLINE() when it may be necessary.

PHP Version

PHP 8.0

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions