bjori           Mon Apr  6 11:48:26 2009 UTC

  Modified files:              
    /php-src/ext/session        mod_files.c 
  Log:
  Fix segfault on invalid session.save_path
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/session/mod_files.c?r1=1.122&r2=1.123&diff_format=u
Index: php-src/ext/session/mod_files.c
diff -u php-src/ext/session/mod_files.c:1.122 
php-src/ext/session/mod_files.c:1.123
--- php-src/ext/session/mod_files.c:1.122       Thu Mar 26 20:02:12 2009
+++ php-src/ext/session/mod_files.c     Mon Apr  6 11:48:26 2009
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: mod_files.c,v 1.122 2009/03/26 20:02:12 felipe Exp $ */
+/* $Id: mod_files.c,v 1.123 2009/04/06 11:48:26 bjori Exp $ */
 
 #include "php.h"
 
@@ -308,7 +308,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

Reply via email to