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

GzipCompressorInputStream doesn't support concatenated .gz files

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: Compressors
    • Labels:
      None

      Description

      The .gz format allows concatenating multiple .gz files as is. A decompressor should decompress the resulting multimember file as if it were a single .gz file.

      GzipCompressorInputStream is a wrapper for java.util.zip.GZIPInputStream which doesn't support concatenated .gz files. Only the first .gz member is decompressed and the rest of the compressed data is silently ignored.

        Attachments

        1. GzipCompressorInputStream.java
          11 kB
          Lasse Collin

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              larhzu Lasse Collin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: