Re: [Boost-bugs] [Boost C++ Libraries] #2783: bzip2_decompressor infinite loops with truncated input file

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2783: bzip2_decompressor infinite loops with truncated input file
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-05 20:01:03


#2783: bzip2_decompressor infinite loops with truncated input file
------------------------------------------------------+---------------------
  Reporter: Mark Westcott <markboost_at_[hidden]> | Owner: turkanis
      Type: Bugs | Status: closed
 Milestone: | Component: iostreams
   Version: Boost 1.38.0 | Severity: Problem
Resolution: invalid | Keywords:
------------------------------------------------------+---------------------
Changes (by agander_at_[hidden]):

  * status: new => closed
  * resolution: => invalid

Comment:

 Is this a valid test/error?

 bzip2 reports that hello.bz2 is corrupt.

> bzip2 -tvvv hello.bz2
   hello.bz2:
     [1: huff+mtf rt+rld {0x13cbede3, 0x13cbede3}]file ends unexpectedly

 You can use the `bzip2recover' program to attempt to recover
 data from undamaged sections of corrupted files.

 It works fine once recovered.

 But then this isnt a Boost issue.

 Tested on:

 BOOST_VERSION: 103800
 BOOST_LIB_VERSION: 1_38

 gcc -v:-
 Using built-in specs.
 Target: x86_64-redhat-linux
 Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
 --infodir=/usr/share/info --with-
 bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-
 shared --enable-threads=posix --enable-checking=release --with-system-zlib
 --enable-__cxa_atexit --disable-libunwind-exceptions --enable-
 languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
 --disable-dssi --enable-plugin --with-java-
 home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile
 --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-
 ecj.jar --disable-libjava-multilib --with-cpu=generic --build=x86_64
 -redhat-linux
 Thread model: posix
 gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC)

 Linux 2.6.27.24-170.2.68.fc10.x86_64 #1 SMP x86_64 GNU/Linux

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2783#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC