File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 9
9
(David Soria Parra, Laruence)
10
10
11
11
- OPcache
12
+ . Fixed bug #64827 (Segfault in zval_mark_grey (zend_gc.c)). (Laruence)
12
13
. OPcache must be compatible with LiteSpeed SAPI (Dmitry)
13
14
14
15
- CLI server:
Original file line number Diff line number Diff line change @@ -2163,7 +2163,10 @@ static void accel_fast_zval_ptr_dtor(zval **zval_ptr)
2163
2163
case IS_CONSTANT_ARRAY : {
2164
2164
TSRMLS_FETCH ();
2165
2165
2166
+ GC_REMOVE_ZVAL_FROM_BUFFER (zvalue );
2166
2167
if (zvalue -> value .ht && (zvalue -> value .ht != & EG (symbol_table ))) {
2168
+ /* break possible cycles */
2169
+ Z_TYPE_P (zvalue ) = IS_NULL ;
2167
2170
zvalue -> value .ht -> pDestructor = (dtor_func_t )accel_fast_zval_ptr_dtor ;
2168
2171
accel_fast_hash_destroy (zvalue -> value .ht );
2169
2172
}
@@ -2173,6 +2176,7 @@ static void accel_fast_zval_ptr_dtor(zval **zval_ptr)
2173
2176
{
2174
2177
TSRMLS_FETCH ();
2175
2178
2179
+ GC_REMOVE_ZVAL_FROM_BUFFER (zvalue );
2176
2180
Z_OBJ_HT_P (zvalue )-> del_ref (zvalue TSRMLS_CC );
2177
2181
}
2178
2182
break ;
You can’t perform that action at this time.
0 commit comments