Skip to content

Commit 68a638d

Browse files
committed
Merge branch 'PHP-8.4'
* PHP-8.4: Fix missing GC_PERSISTENT_LOCAL flag on accel_globals.key
2 parents dfd8c0c + ac42a8d commit 68a638d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2954,6 +2954,7 @@ static void accel_globals_ctor(zend_accel_globals *accel_globals)
29542954
#endif
29552955
memset(accel_globals, 0, sizeof(zend_accel_globals));
29562956
accel_globals->key = zend_string_alloc(ZCG_KEY_LEN, true);
2957+
GC_MAKE_PERSISTENT_LOCAL(accel_globals->key);
29572958
}
29582959

29592960
#ifdef ZTS

0 commit comments

Comments
 (0)