mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
Merge branch 'PHP-8.2'
* PHP-8.2: Fix use-of-uninitialized-value in start_fake_frame
This commit is contained in:
commit
ae431bbfeb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user