cvs: Zend(PHP_4_3) / zend_list.c php-src NEWS
| From: | Jani Taskinen | Date: | Tue, 17 Feb 2004 10:39:19 +0000 |
| Subject: | cvs: Zend(PHP_4_3) / zend_list.c php-src NEWS | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2381@lists.php.net to get a copy of this message | ||
sniper Tue Feb 17 05:39:19 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src NEWS
/Zend zend_list.c
Log:
- Fixed bug #26753 (zend_fetch_list_dtor_id() does not check NULL strings).
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.568&r2=1.1247.2.569&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.568 php-src/NEWS:1.1247.2.569
--- php-src/NEWS:1.1247.2.568 Mon Feb 16 12:42:22 2004
+++ php-src/NEWS Tue Feb 17 05:39:17 2004
@@ -3,6 +3,8 @@
?? Feb 2004, Version 4.3.5
- Fixed bug #27278 (*printf() functions treat arguments as if passed by
reference). (Ilia)
+- Fixed bug #26753 (zend_fetch_list_dtor_id() doesn't check NULL strings).
+ (Jani, Markus dot Lidel at shadowconnect dot com)
16 Feb 2004, Version 4.3.5RC3
- Fixed zero bytes memory allocation when no extra ini files are found in the
http://cvs.php.net/diff.php/Zend/zend_list.c?r1=1.53.4.1&r2=1.53.4.2&ty=u
Index: Zend/zend_list.c
diff -u Zend/zend_list.c:1.53.4.1 Zend/zend_list.c:1.53.4.2
--- Zend/zend_list.c:1.53.4.1 Tue Dec 31 11:23:03 2002
+++ Zend/zend_list.c Tue Feb 17 05:39:19 2004
@@ -314,7 +314,7 @@
zend_hash_internal_pointer_reset_ex(&list_destructors, &pos);
while(zend_hash_get_current_data_ex(&list_destructors, (void **)&lde, &pos) ==
SUCCESS) {
- if(strcmp(type_name, lde->type_name) == 0) {
+ if (lde->type_name && (strcmp(type_name, lde->type_name) == 0)) {
#if 0
printf("Found resource id %d for resource type %s\n", (*lde).resource_id, type_name);
#endif