com php-src: Avoid recording of uninitialized variable: ext/opcache/jit/zend_jit_vm_helpers.c

From: Date: Tue, 21 Jul 2020 11:11:19 +0000
Subject: com php-src: Avoid recording of uninitialized variable: ext/opcache/jit/zend_jit_vm_helpers.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-112289@lists.php.net to get a copy of this message
Commit: be0d9126743b9beff7e3bb01fb76030f21f073cf Author: Dmitry Stogov <dmitry@zend.com> Tue, 21 Jul 2020 14:11:19 +0300 Parents: ae2b214be2ea263ca9719b4e5aa3195a648d667e Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=be0d9126743b9beff7e3bb01fb76030f21f073cf Log: Avoid recording of uninitialized variable Changed paths: M ext/opcache/jit/zend_jit_vm_helpers.c Diff: diff --git a/ext/opcache/jit/zend_jit_vm_helpers.c b/ext/opcache/jit/zend_jit_vm_helpers.c index c55ca991d4..7668f47f2a 100644 --- a/ext/opcache/jit/zend_jit_vm_helpers.c +++ b/ext/opcache/jit/zend_jit_vm_helpers.c @@ -654,7 +654,9 @@ zend_jit_trace_stop ZEND_FASTCALL zend_jit_trace_execute(zend_execute_data *ex, } if (opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV) && opline->opcode != ZEND_INSTANCEOF - && opline->opcode != ZEND_UNSET_STATIC_PROP) { + && opline->opcode != ZEND_UNSET_STATIC_PROP + && opline->opcode != ZEND_FE_FETCH_R + && opline->opcode != ZEND_FE_FETCH_RW) { zval *zv = EX_VAR(opline->op2.var); uint8_t flags = 0;

« previous php.cvs (#112289) next »