Skip to content

Commit b4ce171

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: Fixed uninitialized EX(opline) access (possible Zend/tests/gh12073.phpt crash)
2 parents baf74ed + ab6d564 commit b4ce171

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Zend/zend_vm_def.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8174,6 +8174,7 @@ ZEND_VM_HANDLER(142, ZEND_DECLARE_LAMBDA_FUNCTION, CONST, NUM)
81748174
called_scope = Z_CE(EX(This));
81758175
object = NULL;
81768176
}
8177+
SAVE_OPLINE();
81778178
zend_create_closure(EX_VAR(opline->result.var), func,
81788179
EX(func)->op_array.scope, called_scope, object);
81798180

Zend/zend_vm_execute.h

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)