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:
Anatol Belski 2013-05-16 08:40:56 +02:00
parent 09470ebf35
commit d82704b677
2 changed files with 4 additions and 0 deletions

2
NEWS
View File

@ -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)

View File

@ -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, "");