com php-src: THIS MAY BE A REAL PROBLEM: Zend/zend_execute. c

From: Date: Tue, 25 Feb 2014 12:38:18 +0000
Subject: com php-src: THIS MAY BE A REAL PROBLEM: Zend/zend_execute. c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-77921@lists.php.net to get a copy of this message
Commit: 068ea84a840ca7273e6b6dc19d794bb0216aaab7 Author: Dmitry Stogov <dmitry@zend.com> Tue, 25 Feb 2014 16:38:18 +0400 Parents: fe5c1cc48fa493364537c033335f0c04aef62213 Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=068ea84a840ca7273e6b6dc19d794bb0216aaab7 Log: THIS MAY BE A REAL PROBLEM Changed paths: M Zend/zend_execute.c Diff: diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index a4faf51..322fe46 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -1214,6 +1214,10 @@ convert_to_array: convert_to_long(&tmp); dim = &tmp; } +//??? container may became IS_INDIRECT because of symtable initialization in zend_error + if (Z_TYPE_P(container) == IS_INDIRECT) { + container = Z_INDIRECT_P(container); + } ZVAL_STR_OFFSET(result, Z_STR_P(container), Z_LVAL_P(dim)); Z_ADDREF_P(container); return;

« previous php.cvs (#77921) next »