]> granicus.if.org Git - php/commitdiff
Allocate additional slot for third argument
authorDmitry Stogov <dmitry@zend.com>
Mon, 17 Jul 2017 06:11:14 +0000 (09:11 +0300)
committerDmitry Stogov <dmitry@zend.com>
Mon, 17 Jul 2017 06:11:14 +0000 (09:11 +0300)
ext/opcache/Optimizer/sccp.c

index 326603a0e47c37232f3fe796575cbb14852b309d..1e023f1b1b3c67444aa0e76b49f08b035ac5a66b 100644 (file)
@@ -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) {