Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-13

commons-compress fails to read bzip2 file create with bzip2 unix cmdline tool

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0
    • None
    • None
    • Unix

    Description

      Commons-compress fails to read bzip2 files created with the bzip2 unix cmdline tool because it incorrectly checks for 'h' as first char in stream, the magic number according to http://en.wikipedia.org/wiki/Bzip2 is 'BZh'.

      Attachments

        1. bla.txt.bz2
          0.1 kB
          Ingo Rockel
        2. BZip2CompressorInputStream.java.patch
          1 kB
          Ingo Rockel

        Activity

          People

            bodewig Stefan Bodewig
            irockel Ingo Rockel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: