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

ZipArchiveOutputStream sets general purpose bit 3 even for stored entries without a data descriptor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • 1.2
    • 1.3
    • None
    • None

    Description

      I found this while testing ZIP64 support at the byte level.

      General purpose bit 3 is set if the size is stored inside a data descriptor which ZipArchiveOutputStream will only do if it writes DEFLATED entries to a non-seekable stream. Still that bit seems to be always set.

      It doesn't seem to cause interop problems, that's why I lowered its priority.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: