Skip to content

Commit 2c32bdf

Browse files
authored
Fix GH-22023 crash during ZTS thread startup (#22027)
1 parent bb73942 commit 2c32bdf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Zend/zend.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,7 @@ static void executor_globals_ctor(zend_executor_globals *executor_globals) /* {{
809809
executor_globals->user_error_handler_error_reporting = 0;
810810
ZVAL_UNDEF(&executor_globals->user_error_handler);
811811
ZVAL_UNDEF(&executor_globals->user_exception_handler);
812+
ZVAL_UNDEF(&executor_globals->last_fatal_error_backtrace);
812813
executor_globals->in_autoload = NULL;
813814
executor_globals->current_execute_data = NULL;
814815
executor_globals->current_module = NULL;

0 commit comments

Comments
 (0)