]> granicus.if.org Git - php/commitdiff
BFN updates
authorMoriyoshi Koizumi <moriyoshi@php.net>
Wed, 4 Jun 2003 14:53:31 +0000 (14:53 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Wed, 4 Jun 2003 14:53:31 +0000 (14:53 +0000)
NEWS
TODO_SEGFAULTS

diff --git a/NEWS b/NEWS
index 16111dec35e92df694db9489752a33112a09253e..362c30cf6fa977b64654d7dfcdaeda2a62de4e66 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,7 @@ PHP 4                                                                      NEWS
 - Added DBA handler 'inifile' to support ini files. (Marcus)
 - Added a "DEBUG" note to 'php -v' output when --enable-debug is used. (Derick)
 - Added long options into CLI & CGI (e.g. --version). (Marcus)
+- Fixed integer overflows in base64_encode(). (Moriyoshi)
 - Fixed possible integer overflows in bundled GD library. (Ilia)
 - Fixed "mysql.connect_timeout" php.ini option to be settable with ini_set().
   (Rasmus)
index 05256ff37cd7f22d1a4f74cd7c3dd1716b0278fe..8e92183f2831ad4788d6e0d5120cb4ee768ca908 100644 (file)
@@ -23,7 +23,8 @@ Fixed:
     flock (Sascha)
     register_shutdown_function (Sascha)
     mb_strcut('', [number greater than the length of first arg]) (Moriyoshi)
-    ext/exif, ext/dba (7) (Marcus)
+    ext/exif, ext/dba (Marcus)
+    php_base64_encode (Moriyoshi)
        
 Open:
 
@@ -32,8 +33,7 @@ Open:
     socket_select               (3)
     php_imagepolygon            (4)
     imagesetstyle               (5)
-    php_base64_encode          (6)
-    pack                       (7)
+    pack                        (6)
        
 (1) heap corruption, mostly visible in malloc-related calls.  Whether you see 
     this or not might depend on your libc/compiler.  Hard to track down,
@@ -83,11 +83,9 @@ Methodology
     gdImageSetStyle function called by this php wrapper can die for the
     same reason.  
 
-(6) integer overflow if the specified string is longer then ~1.1 billion bytes.
+(6) multiple integer overflows, ex. pack("d4294967297", 2);
 
-(7) multiple integer overflows, ex. pack("d4294967297", 2);
-
-Ammendment 1.
+Amendment 1.
 
 CFLAGS='-O0 -g' \
 '../src/php4/configure' \