cvs: php4 /ext/session mod_files.c session.c

From: Date: Tue, 05 Sep 2000 19:29:03 +0000
Subject: cvs: php4 /ext/session mod_files.c session.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-1591@lists.php.net to get a copy of this message
stas Tue Sep 5 12:29:03 2000 EDT Modified files: /php4/ext/session mod_files.c session.c Log: Fix crash # This is getting worse... Seems that more work is needed Index: php4/ext/session/mod_files.c diff -u php4/ext/session/mod_files.c:1.44 php4/ext/session/mod_files.c:1.45 --- php4/ext/session/mod_files.c:1.44 Fri Sep 1 08:47:53 2000 +++ php4/ext/session/mod_files.c Tue Sep 5 12:29:03 2000 @@ -16,7 +16,6 @@ +----------------------------------------------------------------------+ */ - #include "php.h" #include <sys/stat.h> Index: php4/ext/session/session.c diff -u php4/ext/session/session.c:1.161 php4/ext/session/session.c:1.162 --- php4/ext/session/session.c:1.161 Tue Sep 5 12:06:29 2000 +++ php4/ext/session/session.c Tue Sep 5 12:29:03 2000 @@ -108,7 +108,7 @@ p = (char **) (base+(size_t) mh_arg1); - if(*p) { + if(*p && stage != PHP_INI_STAGE_STARTUP) { STR_FREE(*p); }

« previous php.cvs (#1591) next »