cvs: php-src(PHP_5_3) /ext/standard array.c
| From: | Ilia Alshanetsky | Date: | Sun, 25 Nov 2007 15:56:07 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/standard array.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-47307@lists.php.net to get a copy of this message | ||
iliaa Sun Nov 25 15:56:07 2007 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard array.c
Log:
Fixed bug #43386 (array_globals not reset to 0 properly on init)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/array.c?r1=1.308.2.21.2.37.2.8&r2=1.308.2.21.2.37.2.9&diff_format=u
Index: php-src/ext/standard/array.c
diff -u php-src/ext/standard/array.c:1.308.2.21.2.37.2.8
php-src/ext/standard/array.c:1.308.2.21.2.37.2.9
--- php-src/ext/standard/array.c:1.308.2.21.2.37.2.8 Tue Nov 6 13:26:59 2007
+++ php-src/ext/standard/array.c Sun Nov 25 15:56:07 2007
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: array.c,v 1.308.2.21.2.37.2.8 2007/11/06 13:26:59 jani Exp $ */
+/* $Id: array.c,v 1.308.2.21.2.37.2.9 2007/11/25 15:56:07 iliaa Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -94,7 +94,7 @@
*/
static void php_array_init_globals(zend_array_globals *array_globals)
{
- memset(array_globals, 0, sizeof(array_globals));
+ memset(array_globals, 0, sizeof(zend_array_globals));
}
/* }}} */