mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Initialize ping_auto_globals_mask to prevent undefined behaviour
Closes GH-10121
This commit is contained in:
parent
6de376a2b4
commit
c4487b7a12
1
NEWS
1
NEWS
@ -15,6 +15,7 @@ PHP NEWS
|
||||
|
||||
- Opcache:
|
||||
. Fix inverted bailout value in zend_runtime_jit() (Max Kellermann).
|
||||
. Fix access to uninitialized variable in accel_preload(). (nielsdos)
|
||||
|
||||
- TSRM:
|
||||
. Fixed Windows shmget() wrt. IPC_PRIVATE. (Tyson Andre)
|
||||
|
@ -4444,6 +4444,8 @@ static int accel_preload(const char *config, bool in_child)
|
||||
|
||||
if (PG(auto_globals_jit)) {
|
||||
ping_auto_globals_mask = zend_accel_get_auto_globals();
|
||||
} else {
|
||||
ping_auto_globals_mask = 0;
|
||||
}
|
||||
|
||||
if (EG(zend_constants)) {
|
||||
|
Loading…
Reference in New Issue
Block a user