Skip to content

Zend: delayed OOM clears the opline of a frame mid-op. - #25408

Open
devnexen wants to merge 1 commit into
php:PHP-8.4from
devnexen:gh25304
Open

devnexen wants to merge 1 commit into
php:PHP-8.4from
devnexen:gh25304

Conversation

@devnexen

Copy link
Copy Markdown
Member

Fix #25304

zend_handle_delayed_oom() always reset EG(opline_before_exception) to NULL, even when called from zend_call_function() in the middle of an opcode. The JIT exception handler stubs then dereferenced it. Only the VM and JIT interrupt handlers run between two opcodes, so they now clear it instead.

Fix php#25304

zend_handle_delayed_oom() always reset EG(opline_before_exception) to NULL,
even when called from zend_call_function() in the middle of an opcode. The
JIT exception handler stubs then dereferenced it. Only the VM and JIT
interrupt handlers run between two opcodes, so they now clear it instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants