cvs: ZendEngine2(PHP_5_2) / zend_compile.c

From: Date: Mon, 24 Jul 2006 22:36:21 +0000
Subject: cvs: ZendEngine2(PHP_5_2) / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5126@lists.php.net to get a copy of this message
helly Mon Jul 24 22:36:21 2006 UTC Modified files: (Branch: PHP_5_2) /ZendEngine2 zend_compile.c Log: - MFH Yet another problematic case with mangled properties http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_compile.c?r1=1.647.2.27.2.15&r2=1.647.2.27.2.16&diff_format=u Index: ZendEngine2/zend_compile.c diff -u ZendEngine2/zend_compile.c:1.647.2.27.2.15 ZendEngine2/zend_compile.c:1.647.2.27.2.16 --- ZendEngine2/zend_compile.c:1.647.2.27.2.15 Mon Jul 24 17:58:32 2006 +++ ZendEngine2/zend_compile.c Mon Jul 24 22:36:21 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_compile.c,v 1.647.2.27.2.15 2006/07/24 17:58:32 helly Exp $ */ +/* $Id: zend_compile.c,v 1.647.2.27.2.16 2006/07/24 22:36:21 helly Exp $ */ #include <zend_language_parser.h> #include "zend.h" @@ -2918,7 +2918,7 @@ *prop_name = mangled_property; return SUCCESS; } - if (len < 3) { + if (len < 3 || mangled_property[1]==0) { zend_error(E_NOTICE, "Illegal member variable name"); *prop_name = mangled_property; return FAILURE;

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