Merge branch 'PHP-8.2'

* PHP-8.2:
  Fix use-of-uninitialized-value in start_fake_frame
This commit is contained in:
Ilija Tovilo 2023-08-03 09:50:32 +02:00
commit ae431bbfeb
No known key found for this signature in database
GPG Key ID: A4F5D403F118200A

View File

@ -923,6 +923,8 @@ cleanup_args:
}
if (UNEXPECTED(ZEND_CALL_INFO(call) & ZEND_CALL_MAY_HAVE_UNDEF)) {
/* zend_handle_undef_args assumes prev_execute_data is initialized. */
call->prev_execute_data = NULL;
if (zend_handle_undef_args(call) == FAILURE) {
zend_vm_stack_free_args(call);
zend_vm_stack_free_call_frame(call);