com php-src: Fix zend_get_zval_ptr(): Zend/zend _execute.c

From: Date: Wed, 28 Jun 2017 08:21:32 +0000
Subject: com php-src: Fix zend_get_zval_ptr(): Zend/zend _execute.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-98238@lists.php.net to get a copy of this message
Commit: 4465b371057fee855dc37fa3611158664c70b954 Author: Nikita Popov <nikita.ppv@gmail.com> Wed, 28 Jun 2017 10:21:19 +0200 Parents: 79128b34ff28191a3fcd37e8d61067ef6a27ac18 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4465b371057fee855dc37fa3611158664c70b954 Log: Fix zend_get_zval_ptr() Changed paths: M Zend/zend_execute.c Diff: diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 3159766..09aa457 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -3077,16 +3077,20 @@ ZEND_API zval *zend_get_zval_ptr(int op_type, const znode_op *node, const zend_e case IS_CONST: ret = EX_CONSTANT(*node); *should_free = NULL; + break; case IS_TMP_VAR: case IS_VAR: ret = EX_VAR(node->var); *should_free = ret; + break; case IS_CV: ret = EX_VAR(node->var); *should_free = NULL; + break; default: ret = NULL; *should_free = ret; + break; } return ret; }

« previous php.cvs (#98238) next »