mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Fixed bug #64853Use of no longer available ini directives causes crash on TS build
The fatal error for removed ini options is thrown before the executor init, so ensure the relevant variables are initialized.
This commit is contained in:
parent
09470ebf35
commit
d82704b677
2
NEWS
2
NEWS
@ -4,6 +4,8 @@ PHP NEWS
|
||||
|
||||
- Core:
|
||||
. Fixed bug #64729 (compilation failure on x32). (Gustavo)
|
||||
. Fixed bug #64853 (Use of no longer available ini directives causes crash on
|
||||
TS build). (Anatol)
|
||||
|
||||
- Fileinfo:
|
||||
. Fixed bug #64830 (mimetype detection segfaults on mp3 file). (Anatol)
|
||||
|
@ -2070,6 +2070,8 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
|
||||
EG(exception_class) = NULL;
|
||||
PG(disable_functions) = NULL;
|
||||
PG(disable_classes) = NULL;
|
||||
EG(exception) = NULL;
|
||||
EG(objects_store).object_buckets = NULL;
|
||||
|
||||
#if HAVE_SETLOCALE
|
||||
setlocale(LC_CTYPE, "");
|
||||
|
Loading…
Reference in New Issue
Block a user