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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user