Skip to content

Commit a204180

Browse files
author
Ilia Alshanetsky
committed
MFB : Fixed bug #43386 (array_globals not reset to 0 properly on init)
1 parent 84c3c96 commit a204180

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/array.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ ZEND_DECLARE_MODULE_GLOBALS(array)
9494
*/
9595
static void php_array_init_globals(zend_array_globals *array_globals)
9696
{
97-
memset(array_globals, 0, sizeof(array_globals));
97+
memset(array_globals, 0, sizeof(zend_array_globals));
9898
}
9999
/* }}} */
100100

0 commit comments

Comments
 (0)