iliaa Sun Nov 25 15:56:47 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard array.c
/php-src NEWS
Log:
MFB: 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.42&r2=1.308.2.21.2.43&diff_format=u
Index: php-src/ext/standard/array.c
diff -u php-src/ext/standard/array.c:1.308.2.21.2.42
php-src/ext/standard/array.c:1.308.2.21.2.43
--- php-src/ext/standard/array.c:1.308.2.21.2.42 Tue Nov 6 13:28:21 2007
+++ php-src/ext/standard/array.c Sun Nov 25 15:56:47 2007
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: array.c,v 1.308.2.21.2.42 2007/11/06 13:28:21 jani Exp $ */
+/* $Id: array.c,v 1.308.2.21.2.43 2007/11/25 15:56:47 iliaa Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -102,7 +102,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));
}
/* }}} */
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1017&r2=1.2027.2.547.2.1018&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1017 php-src/NEWS:1.2027.2.547.2.1018
--- php-src/NEWS:1.2027.2.547.2.1017 Fri Nov 23 00:16:35 2007
+++ php-src/NEWS Sun Nov 25 15:56:47 2007
@@ -1,6 +1,7 @@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2008, PHP 5.2.6
+- Fixed bug #43386 (array_globals not reset to 0 properly on init). (Ilia)
- Fixed bug #43377 (PHP crashes with invalid argument for DateTimeZone). (Ilia)
- Fixed bug #43092 (curl_copy_handle() crashes with > 32 chars long URL).
(Jani)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php