mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Properly initialize _override executor globals
These have been introduced a while ago[1], but their initialization has
been overlooked. Since we cannot rely on TLS variables to be zeroed,
we catch up on this.
[1] <e3ef7bbbb8
>
Co-authored-by: Ilija Tovilo <ilija.tovilo@me.com>
Closes GH-16658.
This commit is contained in:
parent
c9eafc1954
commit
ec68d3c608
1 changed files with 2 additions and 0 deletions
|
@ -803,6 +803,8 @@ static void executor_globals_ctor(zend_executor_globals *executor_globals) /* {{
|
|||
executor_globals->record_errors = false;
|
||||
executor_globals->num_errors = 0;
|
||||
executor_globals->errors = NULL;
|
||||
executor_globals->filename_override = NULL;
|
||||
executor_globals->lineno_override = -1;
|
||||
#ifdef ZEND_MAX_EXECUTION_TIMERS
|
||||
executor_globals->pid = 0;
|
||||
executor_globals->oldact = (struct sigaction){0};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue