iliaa           Sun Dec 16 17:22:32 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/bz2    bz2_filter.c 
    /php-src    NEWS 
  Log:
  MFB: Fixed bug #43589 (a possible infinite loop in bz2_filter.c)
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/bz2/bz2_filter.c?r1=1.3.2.2.2.5&r2=1.3.2.2.2.6&diff_format=u
Index: php-src/ext/bz2/bz2_filter.c
diff -u php-src/ext/bz2/bz2_filter.c:1.3.2.2.2.5 
php-src/ext/bz2/bz2_filter.c:1.3.2.2.2.6
--- php-src/ext/bz2/bz2_filter.c:1.3.2.2.2.5    Thu Aug  9 23:27:22 2007
+++ php-src/ext/bz2/bz2_filter.c        Sun Dec 16 17:22:31 2007
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: bz2_filter.c,v 1.3.2.2.2.5 2007/08/09 23:27:22 iliaa Exp $ */
+/* $Id: bz2_filter.c,v 1.3.2.2.2.6 2007/12/16 17:22:31 iliaa Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -132,6 +132,8 @@
                                data->strm.avail_out = data->outbuf_len;
                                data->strm.next_out = data->outbuf;
                                exit_status = PSFS_PASS_ON;
+                       } else if (status == BZ_OK) {
+                               break;
                        }
                }
        }
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1034&r2=1.2027.2.547.2.1035&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1034 php-src/NEWS:1.2027.2.547.2.1035
--- php-src/NEWS:1.2027.2.547.2.1034    Sun Dec 16 17:14:54 2007
+++ php-src/NEWS        Sun Dec 16 17:22:31 2007
@@ -3,8 +3,9 @@
 ?? ??? 2008, PHP 5.2.6
 - Fixed weired behavior in CGI parameter parsing. (Dmitry, Hannes Magnusson)
 
-- Fixed bug #43606 (define missing depencies of the exif extension)
+- Fixed bug #43606 (define missing depencies of the exif extension).
   (crrodriguez at suse dot de)
+- Fixed bug #43589 (a possible infinite loop in bz2_filter.c). (Greg)
 - Fixed bug #43580 (removed bogus declaration of a non-existent php_is_url()  
   function). (Ilia)
 - Fixed bug #43533 (escapeshellarg('') returns null). (Ilia)

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

Reply via email to