com php-src: Fixed access to uninitialized value: ext/opcache/O ptimizer/zend_inference.c

From: Date: Thu, 01 Dec 2016 10:25:50 +0000
Subject: com php-src: Fixed access to uninitialized value: ext/opcache/O ptimizer/zend_inference.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-96121@lists.php.net to get a copy of this message
Commit: 54244ba5655fa09211979bfedbad03c6270345f8 Author: Dmitry Stogov <dmitry@zend.com> Thu, 1 Dec 2016 13:25:50 +0300 Parents: 54f7abfe7dd364ef42e9309e375e53d6087b07b9 Branches: PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=54244ba5655fa09211979bfedbad03c6270345f8 Log: Fixed access to uninitialized value Changed paths: M ext/opcache/Optimizer/zend_inference.c Diff: diff --git a/ext/opcache/Optimizer/zend_inference.c b/ext/opcache/Optimizer/zend_inference.c index d0e5d84..8099f687 100644 --- a/ext/opcache/Optimizer/zend_inference.c +++ b/ext/opcache/Optimizer/zend_inference.c @@ -3476,6 +3476,7 @@ static void zend_update_type_info(const zend_op_array *op_array, case ZEND_VERIFY_RETURN_TYPE: if (t1 & MAY_BE_REF) { tmp = t1; + ce = NULL; } else { zend_arg_info *ret_info = op_array->arg_info - 1;

« previous php.cvs (#96121) next »