bjori Mon Apr 6 11:48:49 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/session mod_files.c
Log:
MFH: Fix segfault on invalid session.save_path
http://cvs.php.net/viewvc.cgi/php-src/ext/session/mod_files.c?r1=1.100.2.3.2.10.2.3&r2=1.100.2.3.2.10.2.4&diff_format=u
Index: php-src/ext/session/mod_files.c
diff -u php-src/ext/session/mod_files.c:1.100.2.3.2.10.2.3
php-src/ext/session/mod_files.c:1.100.2.3.2.10.2.4
--- php-src/ext/session/mod_files.c:1.100.2.3.2.10.2.3 Wed Dec 31 11:15:42 2008
+++ php-src/ext/session/mod_files.c Mon Apr 6 11:48:49 2009
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mod_files.c,v 1.100.2.3.2.10.2.3 2008/12/31 11:15:42 sebastian Exp $ */
+/* $Id: mod_files.c,v 1.100.2.3.2.10.2.4 2009/04/06 11:48:49 bjori Exp $ */
#include "php.h"
@@ -293,7 +293,7 @@
argv[argc++] = last;
last = ++p;
p = strchr(p, ';');
- if (argc > 2) break;
+ if (argc > 1) break;
}
argv[argc++] = last;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php