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

ZipArchiveInputStream should throw an exception if a data descriptor is used for STORED entries

    XMLWordPrintableJSON

Details

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

    Description

      There is no reliable way to determine the end of data when the method is STORE and in fact the current code relies on the method to be DEFLATE in that case.

      I propose to make this figure into the canReadEntryData method and to throw an exception if any attempt is made
      to read the data.

      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: