mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Fix missing GC_PERSISTENT_LOCAL flag on accel_globals.key
This commit is contained in:
commit
ac42a8de75
1 changed files with 1 additions and 0 deletions
|
@ -2953,6 +2953,7 @@ static void accel_globals_ctor(zend_accel_globals *accel_globals)
|
||||||
#endif
|
#endif
|
||||||
memset(accel_globals, 0, sizeof(zend_accel_globals));
|
memset(accel_globals, 0, sizeof(zend_accel_globals));
|
||||||
accel_globals->key = zend_string_alloc(ZCG_KEY_LEN, true);
|
accel_globals->key = zend_string_alloc(ZCG_KEY_LEN, true);
|
||||||
|
GC_MAKE_PERSISTENT_LOCAL(accel_globals->key);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ZTS
|
#ifdef ZTS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue