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

From: Date: Wed, 22 Sep 2004 07:12:16 +0000
Subject: cvs: ZendEngine2(PHP_5_0) / zend_execute.c php-src NEWS
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-2997@lists.php.net to get a copy of this message
dmitry Wed Sep 22 03:12:16 2004 EDT Modified files: (Branch: PHP_5_0) /php-src NEWS /ZendEngine2 zend_execute.c Log: Fixed bug #29566 (foreach/string handling strangeness (crash)). http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.77&r2=1.1760.2.78&ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.1760.2.77 php-src/NEWS:1.1760.2.78 --- php-src/NEWS:1.1760.2.77 Wed Sep 22 01:57:36 2004 +++ php-src/NEWS Wed Sep 22 03:12:11 2004 @@ -41,6 +41,7 @@ - Fixed bug #29657 (xml_* functions throw non descriptive error). (Christian, Rob) - Fixed bug #29656 (segfault on result and statement properties). (Georg) +- Fixed bug #29566 (foreach/string handling strangeness (crash)). (Dmitry) - Fixed bug #29447 (Reflection API issues). (Marcus) - Fixed bug #29296 (Added sslv2 and sslv3 transports). (Wez) - Fixed bug #29283 (Invalid statement handle in mysqli on execute). (Georg) http://cvs.php.net/diff.php/ZendEngine2/zend_execute.c?r1=1.652.2.5&r2=1.652.2.6&ty=u Index: ZendEngine2/zend_execute.c diff -u ZendEngine2/zend_execute.c:1.652.2.5 ZendEngine2/zend_execute.c:1.652.2.6 --- ZendEngine2/zend_execute.c:1.652.2.5 Mon Aug 30 05:13:40 2004 +++ ZendEngine2/zend_execute.c Wed Sep 22 03:12:15 2004 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_execute.c,v 1.652.2.5 2004/08/30 09:13:40 stas Exp $ */ +/* $Id: zend_execute.c,v 1.652.2.6 2004/09/22 07:12:15 dmitry Exp $ */ #define ZEND_INTENSIVE_DEBUGGING 0 @@ -3709,7 +3709,7 @@ if (opline->extended_value) { array_ptr_ptr = get_zval_ptr_ptr(&opline->op1, EX(Ts), BP_VAR_R); if (array_ptr_ptr == NULL) { - MAKE_STD_ZVAL(array_ptr); + ALLOC_INIT_ZVAL(array_ptr); } else if (Z_TYPE_PP(array_ptr_ptr) == IS_OBJECT) { ce = Z_OBJCE_PP(array_ptr_ptr); if (!ce || ce->get_iterator == NULL) {

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