You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stefan Bodewig (JIRA)" <ji...@apache.org> on 2013/03/08 06:06:15 UTC

[jira] [Updated] (COMPRESS-67) ZipArchiveInputStream fails to call setSize() when reading archives created by ZipArchiveOutputStream

     [ https://issues.apache.org/jira/browse/COMPRESS-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig updated COMPRESS-67:
-----------------------------------

    Fix Version/s: 1.0
    
> ZipArchiveInputStream fails to call setSize() when reading archives created by ZipArchiveOutputStream
> -----------------------------------------------------------------------------------------------------
>
>                 Key: COMPRESS-67
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-67
>             Project: Commons Compress
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 1.0
>
>
> ZipArchiveInputStream fails to call setSize() when reading archives created by ZipArchiveOutputStream
> I'm not exactly sure where the problem is - looks to be something to do with:
> {code}
> getNextZipEntry(){
> ...
> if (!hasDataDescriptor) {
> // calls setSize()
> } else {
> // does not call setSize()
> }
> {code}
> Maybe the DataDescriptor is not being processed, or maybe there is no descriptor and the flag is set wrongly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira