From: Dmitry Stogov Date: Thu, 1 Dec 2016 10:25:50 +0000 (+0300) Subject: Fixed access to uninitialized value X-Git-Tag: php-7.1.1RC1~170 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54244ba5655fa09211979bfedbad03c6270345f8;p=php Fixed access to uninitialized value --- diff --git a/ext/opcache/Optimizer/zend_inference.c b/ext/opcache/Optimizer/zend_inference.c index d0e5d84e89..8099f687e3 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;