Skip to content

Commit ac42a8d

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Fix missing GC_PERSISTENT_LOCAL flag on accel_globals.key
2 parents c63460c + 2ad778b commit ac42a8d

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
@@ -2953,6 +2953,7 @@ static void accel_globals_ctor(zend_accel_globals *accel_globals)
29532953
#endif
29542954
memset(accel_globals, 0, sizeof(zend_accel_globals));
29552955
accel_globals->key = zend_string_alloc(ZCG_KEY_LEN, true);
2956+
GC_MAKE_PERSISTENT_LOCAL(accel_globals->key);
29562957
}
29572958

29582959
#ifdef ZTS

0 commit comments

Comments
 (0)