1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 20:22:36 +02:00

Fixed Bug #71435 (Reproducible crash using opcache.file_cache_only=1 and class constant)

This commit is contained in:
Xinchen Hui
2016-01-24 03:56:47 -08:00
parent cc9445ce68
commit d74cc3afcf

View File

@@ -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);
}