mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
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
This commit is contained in:
parent
a4eebd74a6
commit
4bde74c3be
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user