cvs: ZendEngine2 / zend_compile.c
| From: | Shane Caraveo | Date: | Tue, 28 Oct 2003 05:24:46 +0000 |
| Subject: | cvs: ZendEngine2 / zend_compile.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1943@lists.php.net to get a copy of this message | ||
shane Tue Oct 28 00:24:46 2003 EDT
Modified files:
/ZendEngine2 zend_compile.c
Log:
fix crash in do_implement_interface when compiling
pear/PHPUnit/Framework/TestCase.php line 63
while only interface_gets_implemented is the issue in this instance, both
these vars were unitialized, causing potential other issues
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.488 ZendEngine2/zend_compile.c:1.489
--- ZendEngine2/zend_compile.c:1.488 Wed Oct 22 15:59:58 2003
+++ ZendEngine2/zend_compile.c Tue Oct 28 00:24:46 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_compile.c,v 1.488 2003/10/22 19:59:58 helly Exp $ */
+/* $Id: zend_compile.c,v 1.489 2003/10/28 05:24:46 shane Exp $ */
#include "zend_language_parser.h"
#include "zend.h"
@@ -3544,6 +3544,8 @@
ce->parent = NULL;
ce->num_interfaces = 0;
ce->interfaces = NULL;
+ ce->get_iterator = NULL;
+ ce->interface_gets_implemented = NULL;
}