cvs: ZendEngine2 / zend_object_handlers.c php-src NEWS
| From: | Dmitry Stogov | Date: | Fri, 17 Jun 2005 10:50:46 +0000 |
| Subject: | cvs: ZendEngine2 / zend_object_handlers.c php-src NEWS | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3826@lists.php.net to get a copy of this message | ||
dmitry Fri Jun 17 06:50:46 2005 EDT
Modified files:
/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.1924&r2=1.1925&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1924 php-src/NEWS:1.1925
--- php-src/NEWS:1.1924 Fri Jun 17 05:36:24 2005
+++ php-src/NEWS Fri Jun 17 06:50:45 2005
@@ -15,6 +15,7 @@
- Fixed bug #33318 (throw 1; results in Invalid opcode 108/1/8). (Dmitry)
- Fixed bug #33312 (ReflectionParameter methods do not work correctly).
(Dmitry)
+- Fixed bug #33277 (private method accessed by child class). (Dmitry)
- Fixed bug #33212 ([GCC 4]: 'zend_error_noreturn' aliased to external symbol
'zend_error'). (Dmitry)
- Fixed bug #31256 (PHP_EVAL_LIBLINE configure macro does not handle -pthread).
http://cvs.php.net/diff.php/ZendEngine2/zend_object_handlers.c?r1=1.131&r2=1.132&ty=u
Index: ZendEngine2/zend_object_handlers.c
diff -u ZendEngine2/zend_object_handlers.c:1.131 ZendEngine2/zend_object_handlers.c:1.132
--- ZendEngine2/zend_object_handlers.c:1.131 Thu Jun 16 10:52:47 2005
+++ ZendEngine2/zend_object_handlers.c Fri Jun 17 06:50:45 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_object_handlers.c,v 1.131 2005/06/16 14:52:47 dmitry Exp $ */
+/* $Id: zend_object_handlers.c,v 1.132 2005/06/17 10:50:45 dmitry Exp $ */
#include "zend.h"
#include "zend_globals.h"
@@ -676,7 +676,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;
}
}