Another fix for uninitialized execute_data->symbol_table

This commit is contained in:
Dmitry Stogov 2014-07-08 12:17:52 +04:00
parent 7ba7dd1943
commit 73679bf6db
2 changed files with 3 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}