[php-src] PR #25408: Zend: delayed OOM clears the opline of a frame mid-op.
| From: | devnexen | Date: | Thu, 12 Nov 2026 04:14:16 +0000 |
| Subject: | [php-src] PR #25408: Zend: delayed OOM clears the opline of a frame mid-op. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40563@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25408
Author: devnexen
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.