sniper          Mon Sep  5 12:25:43 2005 EDT

  Modified files:              (Branch: PHP_4_4)
    /php-src    NEWS 
    /php-src/ext/standard       var_unserializer.re 
  Log:
  MFH: - Fixed bug #34311 (unserialize() crashes with characters above 191 dec)
  
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.920.2.36&r2=1.1247.2.920.2.37&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.920.2.36 php-src/NEWS:1.1247.2.920.2.37
--- php-src/NEWS:1.1247.2.920.2.36      Mon Sep  5 09:05:06 2005
+++ php-src/NEWS        Mon Sep  5 12:25:42 2005
@@ -2,6 +2,7 @@
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2005, Version 4.4.1
 - Added "new_link" parameter to mssql_connect(). Bug #34369. (Frank)
+- Fixed bug #34311 (unserialize() crashes with chars above 191 dec). (Nuno)
 - Fixed bug #34307 (on_modify handler not called to set the default value if
   setting from php.ini was invalid). (Andrei)
 - Fixed bug #34302 (date('W') do not return leading zeros for week 1 to 9).
http://cvs.php.net/diff.php/php-src/ext/standard/var_unserializer.re?r1=1.11.4.16.2.2&r2=1.11.4.16.2.3&ty=u
Index: php-src/ext/standard/var_unserializer.re
diff -u php-src/ext/standard/var_unserializer.re:1.11.4.16.2.2 
php-src/ext/standard/var_unserializer.re:1.11.4.16.2.3
--- php-src/ext/standard/var_unserializer.re:1.11.4.16.2.2      Fri Jun 17 
09:52:55 2005
+++ php-src/ext/standard/var_unserializer.re    Mon Sep  5 12:25:43 2005
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: var_unserializer.re,v 1.11.4.16.2.2 2005/06/17 13:52:55 dmitry Exp $ */
+/* $Id: var_unserializer.re,v 1.11.4.16.2.3 2005/09/05 16:25:43 sniper Exp $ */
 
 #include "php.h"
 #include "ext/standard/php_var.h"
@@ -150,7 +150,7 @@
 iv = [+-]? [0-9]+;
 nv = [+-]? ([0-9]* "." [0-9]+|[0-9]+ "." [0-9]*);
 nvexp = (iv | nv) [eE] [+-]? iv;
-any = [\000-\277];
+any = [\000-\377];
 */
 
 

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

Reply via email to