dmitry Mon Feb 20 11:15:02 2006 UTC Modified files: /php-src/ext/reflection php_reflection.c Log: Fixed SIGSEGV in unicode mode http://cvs.php.net/viewcvs.cgi/php-src/ext/reflection/php_reflection.c?r1=1.206&r2=1.207&diff_format=u Index: php-src/ext/reflection/php_reflection.c diff -u php-src/ext/reflection/php_reflection.c:1.206 php-src/ext/reflection/php_reflection.c:1.207 --- php-src/ext/reflection/php_reflection.c:1.206 Sat Feb 18 18:05:46 2006 +++ php-src/ext/reflection/php_reflection.c Mon Feb 20 11:15:02 2006 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_reflection.c,v 1.206 2006/02/18 18:05:46 helly Exp $ */ +/* $Id: php_reflection.c,v 1.207 2006/02/20 11:15:02 dmitry Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -3581,7 +3581,7 @@ 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; @@ -4338,7 +4338,7 @@ php_info_print_table_start(); php_info_print_table_header(2, "Reflection", "enabled"); - php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.206 2006/02/18 18:05:46 helly Exp $"); + php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.207 2006/02/20 11:15:02 dmitry Exp $"); php_info_print_table_end(); } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php