]> granicus.if.org Git - php/commitdiff
Fixed Bug #71435 (Reproducible crash using opcache.file_cache_only=1 and class constant)
authorXinchen Hui <laruence@gmail.com>
Sun, 24 Jan 2016 11:56:47 +0000 (03:56 -0800)
committerXinchen Hui <laruence@gmail.com>
Sun, 24 Jan 2016 11:56:47 +0000 (03:56 -0800)
ext/opcache/zend_file_cache.c

index 6a9bb9c5809f9f599bc688bcbc7bf31947694b7d..40a19b997f1ea9cbf05e1e9ee518ded6eaee30d3 100644 (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);
                }