cvs: ZendEngine2(PHP_5_0) / zend_object_handlers.c php-src NEWS

From: Date: Fri, 17 Jun 2005 10:51:11 +0000
Subject: cvs: ZendEngine2(PHP_5_0) / zend_object_handlers.c php-src NEWS
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3827@lists.php.net to get a copy of this message
dmitry Fri Jun 17 06:51:11 2005 EDT Modified files: (Branch: PHP_5_0) /php-src NEWS /ZendEngine2 zend_object_handlers.c Log: Fixed bug #33277 (private method accessed by child class) http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.433&r2=1.1760.2.434&ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.1760.2.433 php-src/NEWS:1.1760.2.434 --- php-src/NEWS:1.1760.2.433 Tue Jun 14 15:41:16 2005 +++ php-src/NEWS Fri Jun 17 06:51:09 2005 @@ -15,6 +15,7 @@ - Fixed memory corruption in stristr(). (Derick) - Fixed segfaults when CURL callback functions throw exception. (Tony) - Fixed bug #33340 (CLI Crash when calling php:function from XSLT). (Rob) +- Fixed bug #33277 (private method accessed by child class). (Dmitry) - Fixed bug #33268 (iconv_strlen() works only with a parameter of < 3 in length). (Ilia) - Fixed bug #33243 (ze1_compatibility_mode does not work as expected). (Dmitry) http://cvs.php.net/diff.php/ZendEngine2/zend_object_handlers.c?r1=1.101.2.16&r2=1.101.2.17&ty=u Index: ZendEngine2/zend_object_handlers.c diff -u ZendEngine2/zend_object_handlers.c:1.101.2.16 ZendEngine2/zend_object_handlers.c:1.101.2.17 --- ZendEngine2/zend_object_handlers.c:1.101.2.16 Thu Jun 9 12:59:56 2005 +++ ZendEngine2/zend_object_handlers.c Fri Jun 17 06:51:10 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_object_handlers.c,v 1.101.2.16 2005/06/09 16:59:56 stas Exp $ */ +/* $Id: zend_object_handlers.c,v 1.101.2.17 2005/06/17 10:51:10 dmitry Exp $ */ #include "zend.h" #include "zend_globals.h" @@ -746,7 +746,8 @@ zend_function *priv_fbc; if (zend_hash_find(&EG(scope)->function_table, lc_method_name, method_len+1, (void **) &priv_fbc)==SUCCESS - && priv_fbc->common.fn_flags & ZEND_ACC_PRIVATE) { + && priv_fbc->common.fn_flags & ZEND_ACC_PRIVATE + && priv_fbc->common.scope == EG(scope)) { fbc = priv_fbc; } }

« previous php.zend-engine.cvs (#3827) next »