From 4bde74c3bece2793f2dd8f544d296aded72fe9d3 Mon Sep 17 00:00:00 2001 From: Shane Caraveo Date: Tue, 28 Oct 2003 05:24:46 +0000 Subject: [PATCH] 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 --- Zend/zend_compile.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index bd3d16c0b5..0b9d458775 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -3544,6 +3544,8 @@ void zend_initialize_class_data(zend_class_entry *ce, zend_bool nullify_handlers ce->parent = NULL; ce->num_interfaces = 0; ce->interfaces = NULL; + ce->get_iterator = NULL; + ce->interface_gets_implemented = NULL; } -- 2.50.1