com php-src: Allocate additional slot for third argument: ext/opcache/Optimizer/sccp.c
| From: | Dmitry Stogov | Date: | Mon, 17 Jul 2017 06:11:14 +0000 |
| Subject: | com php-src: Allocate additional slot for third argument: ext/opcache/Optimizer/sccp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98583@lists.php.net to get a copy of this message | ||
Commit: b31e77dbea39f97dfd4fa434bad46286d789a861
Author: Dmitry Stogov <dmitry@zend.com> Mon, 17 Jul 2017 09:11:14 +0300
Parents: 6e4f3d1967a8e7ab858262c5515e67b2f8912320
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b31e77dbea39f97dfd4fa434bad46286d789a861
Log:
Allocate additional slot for third argument
Changed paths:
M ext/opcache/Optimizer/sccp.c
Diff:
diff --git a/ext/opcache/Optimizer/sccp.c b/ext/opcache/Optimizer/sccp.c
index 326603a..1e023f1 100644
--- a/ext/opcache/Optimizer/sccp.c
+++ b/ext/opcache/Optimizer/sccp.c
@@ -999,7 +999,7 @@ static void sccp_visit_instr(scdf_ctx *scdf, zend_op *opline, zend_ssa_op *ssa_o
case ZEND_DO_ICALL:
{
zend_call_info *call;
- zval *name, *args[2] = {NULL};
+ zval *name, *args[3] = {NULL};
int i;
if (!ctx->call_map) {