]> granicus.if.org Git - php/commitdiff
Fixed SIGSEGV in unicode mode
authorDmitry Stogov <dmitry@php.net>
Mon, 20 Feb 2006 11:15:02 +0000 (11:15 +0000)
committerDmitry Stogov <dmitry@php.net>
Mon, 20 Feb 2006 11:15:02 +0000 (11:15 +0000)
ext/reflection/php_reflection.c

index 1abf09cb403c7ce306591a48525275fe58b478b0..f62b7453ff5915fef10ce9af324ab9885d43d6d5 100644 (file)
@@ -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;