com php-src: Fixed bug #69868 (Invalid read of size 1 in zend_compile_short_circuiting): Zend/zend_compile .c
| From: | Xinchen Hui | Date: | Thu, 18 Jun 2015 11:53:26 +0000 |
| Subject: | com php-src: Fixed bug #69868 (Invalid read of size 1 in zend_compile_short_circuiting): Zend/zend_compile .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87361@lists.php.net to get a copy of this message | ||
Commit: c58c5e779a3ef32e8cf4c18890982403210abff3
Author: Xinchen Hui <laruence@php.net> Thu, 18 Jun 2015 19:53:26 +0800
Parents: eca7f287962630d1be80946389800ff919808546
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c58c5e779a3ef32e8cf4c18890982403210abff3
Log:
Fixed bug #69868 (Invalid read of size 1 in zend_compile_short_circuiting)
Bugs:
https://bugs.php.net/69868
Changed paths:
M Zend/zend_compile.c
Diff:
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 5045d4c..b5becb8 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -5911,6 +5911,7 @@ void zend_compile_short_circuiting(znode *result, zend_ast *ast) /* {{{ */
return;
}
+ opline_jmpz = &CG(active_op_array)->opcodes[opnum_jmpz];
GET_NODE(result, opline_jmpz->result);
opline_bool = zend_emit_op(NULL, ZEND_BOOL, &right_node, NULL);