From: Xinchen Hui Date: Sun, 24 Jan 2016 11:56:47 +0000 (-0800) Subject: Fixed Bug #71435 (Reproducible crash using opcache.file_cache_only=1 and class constant) X-Git-Tag: php-7.2.0alpha1~620^2~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d74cc3afcf4a3df3eb123546d471b2a58bbfc4d2;p=php Fixed Bug #71435 (Reproducible crash using opcache.file_cache_only=1 and class constant) --- diff --git a/ext/opcache/zend_file_cache.c b/ext/opcache/zend_file_cache.c index 6a9bb9c580..40a19b997f 100644 --- a/ext/opcache/zend_file_cache.c +++ b/ext/opcache/zend_file_cache.c @@ -1087,7 +1087,7 @@ static void zend_file_cache_unserialize_class_constant(zval * UNSERIALIZE_PTR(Z_PTR_P(zv)); c = Z_PTR_P(zv); - zend_file_cache_unserialize_class_constant(&c->value, script, buf); + zend_file_cache_unserialize_zval(&c->value, script, buf); if (c->ce && !IS_UNSERIALIZED(c->ce)) { UNSERIALIZE_PTR(c->ce); }