bjori           Mon Apr  6 11:49:33 2009 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/session        mod_files.c 
    /php-src    NEWS 
  Log:
  MFH: Fixed 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.12&r2=1.100.2.3.2.13&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.12 
php-src/ext/session/mod_files.c:1.100.2.3.2.13
--- php-src/ext/session/mod_files.c:1.100.2.3.2.12      Wed Dec 31 11:17:43 2008
+++ php-src/ext/session/mod_files.c     Mon Apr  6 11:49:33 2009
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: mod_files.c,v 1.100.2.3.2.12 2008/12/31 11:17:43 sebastian Exp $ */
+/* $Id: mod_files.c,v 1.100.2.3.2.13 2009/04/06 11:49:33 bjori Exp $ */
 
 #include "php.h"
 
@@ -295,7 +295,7 @@
                argv[argc++] = last;
                last = ++p;
                p = strchr(p, ';');
-               if (argc > 2) break;
+               if (argc > 1) break;
        }
        argv[argc++] = last;
 
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1459&r2=1.2027.2.547.2.1460&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1459 php-src/NEWS:1.2027.2.547.2.1460
--- php-src/NEWS:1.2027.2.547.2.1459    Fri Apr  3 22:14:04 2009
+++ php-src/NEWS        Mon Apr  6 11:49:33 2009
@@ -6,6 +6,7 @@
 
 - Fixed memory corruptions while reading properties of zip files. (Ilia)
 - Fixed memory leak in ob_get_clean/ob_get_flush. (Christian)
+- Fixed segfault on invalid session.save_path. (Hannes)
 
 - Fixed bug #47845 (PDO_Firebird omits first row from query). (Lars W)
 - Fixed bug #47831 (Compile warning for strnlen() in main/spprintf.c).



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to