mirror of
https://github.com/php/php-src.git
synced 2024-09-24 03:17:26 +00:00
Fixed SIGSEGV in unicode mode
This commit is contained in:
parent
bb0f2051c4
commit
9528c37906
@ -3581,7 +3581,7 @@ ZEND_METHOD(reflection_property, __construct)
|
||||
zend_class_entry *tmp_ce = ce;
|
||||
zend_property_info *tmp_info;
|
||||
|
||||
while (tmp_ce && zend_hash_find(&tmp_ce->properties_info, name_str, name_len + 1, (void **) &tmp_info) != SUCCESS) {
|
||||
while (tmp_ce && zend_u_hash_find(&tmp_ce->properties_info, name_type, name_str, name_len + 1, (void **) &tmp_info) != SUCCESS) {
|
||||
ce = tmp_ce;
|
||||
property_info = tmp_info;
|
||||
tmp_ce = tmp_ce->parent;
|
||||
|
Loading…
Reference in New Issue
Block a user