summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli_server.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2011-12-16 19:02:52 +0000
committerXinchen Hui <laruence@php.net>2011-12-16 19:02:52 +0000
commit01dc47631ea044f0df75a1e59d1313ca96a6ba66 (patch)
tree17dd30b7377da159d419889c4663c233361dc82f /sapi/cli/php_cli_server.c
parente467a791d3111438ea1160c22b986d24bd09450e (diff)
downloadphp-git-01dc47631ea044f0df75a1e59d1313ca96a6ba66.tar.gz
Fixed bug #60536 (Traits Segfault)
# this is a tough one, I think I should explain # Zend use zend_object->properties_table both as zval ** and zval *** # if a zend_object->properties is not initialized, the properties_table is zval ** # while in rebuild_object_properties, zend will store the zval ** to zend_object->properties # then stash the zval ***(ie, zobj->properties_table[0] is zval ** now) to zobj->properties_table[0] # so when a zend_object inherit form multi parent and these parent have a same property_info->offset # properties, will result in a repeat zval **->zval ** transform, which will lead to a segmentfault # *may be* this fix is not the best fix, we should not use this tricky way, and rewrite this mechanism.
Diffstat (limited to 'sapi/cli/php_cli_server.c')
0 files changed, 0 insertions, 0 deletions