Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_1) / zend_execute.c php-src NEWS

From: Date: Mon, 26 Dec 2005 11:07:13 +0000
Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_1) / zend_execute.c php-src NEWS
References: 1  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4492@lists.php.net to get a copy of this message
Hello Dmitry, why did you revert this fix? marcus Monday, December 26, 2005, 9:18:38 AM, you wrote: > dmitry Mon Dec 26 08:18:38 2005 EDT > Modified files: (Branch: PHP_5_1) > /php-src NEWS > /ZendEngine2 zend_execute.c > Log: > Reverted invalid fix for bug #35785 > > > > http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.2027.2.324&r2=1.2027.2.325&diff_format=u > Index: php-src/NEWS > diff -u php-src/NEWS:1.2027.2.324 php-src/NEWS:1.2027.2.325 > --- php-src/NEWS:1.2027.2.324 Mon Dec 26 00:59:32 2005 > +++ php-src/NEWS Mon Dec 26 08:18:37 2005 > @@ -3,7 +3,6 @@ > ?? Jan 2006, PHP 5.1.2RC2 > - Fixed small leak in mysqli_stmt_fetch() when bound variable was empty > string. (Andrey) > -- Fixed bug #35785 (SimpleXML causes memory read error zend engine). (Marcus) > - Fixed bug #35781 (stream_filter_append() can cause segfault). (Tony) > - Fixed bug #35759 (mysqli_stmt_bind_result() makes huge allocation when > column empty). (Andrey) > > http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_execute.c?r1=1.716.2.8&r2=1.716.2.9&diff_format=u > Index: ZendEngine2/zend_execute.c > diff -u ZendEngine2/zend_execute.c:1.716.2.8 ZendEngine2/zend_execute.c:1.716.2.9 > --- ZendEngine2/zend_execute.c:1.716.2.8 Fri Dec 23 20:32:15 2005 > +++ ZendEngine2/zend_execute.c Mon Dec 26 08:18:38 2005 > @@ -17,7 +17,7 @@ > +----------------------------------------------------------------------+ > */ > > -/* $Id: zend_execute.c,v 1.716.2.8 2005/12/23 20:32:15 helly Exp $ */ > +/* $Id: zend_execute.c,v 1.716.2.9 2005/12/26 08:18:38 dmitry Exp $ */ > > #define ZEND_INTENSIVE_DEBUGGING 0 > > @@ -548,7 +548,7 @@ > make_real_object(object_ptr TSRMLS_CC); /* this should modify object only if it's > empty */ > object = *object_ptr; > > - if (!object || object->type != IS_OBJECT || (opcode == > ZEND_ASSIGN_OBJ && !Z_OBJ_HT_P(object)->write_property)) { > + if (object->type != IS_OBJECT || (opcode == ZEND_ASSIGN_OBJ && > !Z_OBJ_HT_P(object)->write_property)) { > zend_error(E_WARNING, "Attempt to assign property of non-object"); > FREE_OP(free_op2); > if (!RETURN_VALUE_UNUSED(result)) { Best regards, Marcus

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