]> granicus.if.org Git - php/commitdiff
MFH: - Fixed bug #34311 (unserialize() crashes with characters above 191 dec)
authorfoobar <sniper@php.net>
Mon, 5 Sep 2005 16:25:43 +0000 (16:25 +0000)
committerfoobar <sniper@php.net>
Mon, 5 Sep 2005 16:25:43 +0000 (16:25 +0000)
NEWS
ext/standard/var_unserializer.re

diff --git a/NEWS b/NEWS
index ceab71d7b6e3c4853a751cdb04e1c9c029f25f17..d4c4a8807402200a9d7b71f59777a12cd9d4df28 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ PHP 4                                                                      NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 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).
index a4aee72e154bd5dcd76a3aec0882350ce8b90338..797fdb042bd8262c8693b41f46ca589038045575 100644 (file)
@@ -150,7 +150,7 @@ uiv = [+]? [0-9]+;
 iv = [+-]? [0-9]+;
 nv = [+-]? ([0-9]* "." [0-9]+|[0-9]+ "." [0-9]*);
 nvexp = (iv | nv) [eE] [+-]? iv;
-any = [\000-\277];
+any = [\000-\377];
 */