mirror of
https://github.com/php/php-src.git
synced 2026-04-27 10:16:41 +02:00
- MFH: Initialize the reserved resource bits so that they can be reliably used.
This commit is contained in:
@@ -101,6 +101,8 @@ void init_op_array(zend_op_array *op_array, zend_uchar type, int initial_ops_siz
|
||||
|
||||
op_array->fn_flags = CG(interactive)?ZEND_ACC_INTERACTIVE:0;
|
||||
|
||||
memset(op_array->reserved, 0, ZEND_MAX_RESERVED_RESOURCES * sizeof(void*));
|
||||
|
||||
zend_llist_apply_with_argument(&zend_extensions, (llist_apply_with_arg_func_t) zend_extension_op_array_ctor_handler, op_array TSRMLS_CC);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user