]> granicus.if.org Git - php/commitdiff
Fixed bug #64853Use of no longer available ini directives causes crash on TS build
authorAnatol Belski <ab@php.net>
Thu, 16 May 2013 06:40:56 +0000 (08:40 +0200)
committerAnatol Belski <ab@php.net>
Thu, 16 May 2013 06:40:56 +0000 (08:40 +0200)
The fatal error for removed ini options is thrown before the executor
init, so ensure the relevant variables are initialized.

NEWS
main/main.c

diff --git a/NEWS b/NEWS
index 879f13bf71a08b21aedbad4e698fc7d79973960e..5aeb4c9973a3ceef4bb2dbb2a8ba2bc9ed6c55fe 100644 (file)
--- a/NEWS
+++ b/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)
index 7a253f8b230ef318aac880d0afcd2739afa68d59..c0db64d184ee12d298a514de05da1b867e489d23 100644 (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, "");