diff options
author | Felipe Pena <felipensp@gmail.com> | 2012-07-14 12:16:16 -0300 |
---|---|---|
committer | Felipe Pena <felipensp@gmail.com> | 2012-07-14 12:16:16 -0300 |
commit | 0bff7cfadd0177601cd7b7253b7311d3bd13fa45 (patch) | |
tree | ad2fcaf2a03092cdad55b4688eff113fdccefe2d /ext/standard/incomplete_class.c | |
parent | 8b093dee214c1bf02e06eddf512c4a11ed028b3a (diff) | |
download | php-git-0bff7cfadd0177601cd7b7253b7311d3bd13fa45.tar.gz |
- Fixed bug #62565 (Crashes due non-initialized internal properties_table)
Diffstat (limited to 'ext/standard/incomplete_class.c')
-rw-r--r-- | ext/standard/incomplete_class.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/incomplete_class.c b/ext/standard/incomplete_class.c index 0ca2f04cf7..f6d3750e2b 100644 --- a/ext/standard/incomplete_class.c +++ b/ext/standard/incomplete_class.c @@ -109,6 +109,8 @@ static zend_object_value php_create_incomplete_object(zend_class_entry *class_ty value = zend_objects_new(&object, class_type TSRMLS_CC); value.handlers = &php_incomplete_object_handlers; + object_properties_init(object, class_type); + return value; } |