]> granicus.if.org Git - php/commitdiff
- prevent possible crash when error/warnings are raised during startup (like deprecat...
authorPierre Joye <pajoye@php.net>
Sun, 24 Jan 2010 12:39:31 +0000 (12:39 +0000)
committerPierre Joye <pajoye@php.net>
Sun, 24 Jan 2010 12:39:31 +0000 (12:39 +0000)
main/main.c

index 1f9eb03c33c65c73729c3c6dfb1e817e31f311bc..69d2b61217cd2b8f5b1c6dd293bf8bee4130599e 100644 (file)
@@ -1972,7 +1972,7 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
 #endif
        EG(bailout) = NULL;
        EG(error_reporting) = E_ALL & ~E_NOTICE;
-
+       EG(active_symbol_table) = NULL;
        PG(header_is_being_sent) = 0;
        SG(request_info).headers_only = 0;
        SG(request_info).argv0 = NULL;