From: Stanislav Malyshev Date: Tue, 5 Sep 2000 19:29:03 +0000 (+0000) Subject: Fix crash X-Git-Tag: php-4.0.3RC1~290 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20a6474eae78e3d7c96711d9e89116d1a8c9d46d;p=php Fix crash # This is getting worse... Seems that more work is needed --- diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c index 8e5c38d40b..2c7e9c7117 100644 --- a/ext/session/mod_files.c +++ b/ext/session/mod_files.c @@ -16,7 +16,6 @@ +----------------------------------------------------------------------+ */ - #include "php.h" #include diff --git a/ext/session/session.c b/ext/session/session.c index 6ddedfcfbf..455fd11296 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -108,7 +108,7 @@ static PHP_INI_MH(OnUpdateStringCopy) p = (char **) (base+(size_t) mh_arg1); - if(*p) { + if(*p && stage != PHP_INI_STAGE_STARTUP) { STR_FREE(*p); }