mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
Another fix for uninitialized execute_data->symbol_table
This commit is contained in:
parent
7ba7dd1943
commit
73679bf6db
@ -1727,7 +1727,9 @@ ZEND_API zend_execute_data *zend_create_generator_execute_data(zend_execute_data
|
||||
}
|
||||
}
|
||||
|
||||
i_init_execute_data(execute_data, op_array, return_value, VM_FRAME_TOP_FUNCTION TSRMLS_CC);
|
||||
EX(symbol_table) = NULL;
|
||||
|
||||
i_init_func_execute_data(execute_data, op_array, return_value, VM_FRAME_TOP_FUNCTION TSRMLS_CC);
|
||||
|
||||
return execute_data;
|
||||
}
|
||||
|
@ -228,7 +228,6 @@ static zend_always_inline zend_execute_data *zend_vm_stack_push_call_frame(zend_
|
||||
call->called_scope = called_scope;
|
||||
call->object = object;
|
||||
call->prev_nested_call = prev;
|
||||
call->symbol_table = NULL;
|
||||
return call;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user