1
0
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:
Derick Rethans
2007-11-18 21:30:30 +00:00
parent 99a1f9e0b2
commit 62fb0402db
+2
View File
@@ -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);
}