diff options
author | Shane Caraveo <shane@php.net> | 2003-10-28 05:24:46 +0000 |
---|---|---|
committer | Shane Caraveo <shane@php.net> | 2003-10-28 05:24:46 +0000 |
commit | 4bde74c3bece2793f2dd8f544d296aded72fe9d3 (patch) | |
tree | a279a9ba12f51f5d3e6b56a32e19b2a4f4ba0b0f | |
parent | a4eebd74a6ef2ef9004a3463a56ee67d132bd5d0 (diff) | |
download | php-git-4bde74c3bece2793f2dd8f544d296aded72fe9d3.tar.gz |
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
-rw-r--r-- | Zend/zend_compile.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |