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

                 Key: COMPRESS-100
                 URL: https://issues.apache.org/jira/browse/COMPRESS-100
             Project: Commons Compress
          Issue Type: Bug
    Affects Versions: 1.0
            Reporter: Stefan Bodewig
            Assignee: Stefan Bodewig
             Fix For: 1.1


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.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to