commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <>
Subject [jira] [Commented] (COMPRESS-228) ZipException on reading valid zip64 file
Date Sun, 26 May 2013 17:25:24 GMT


Stefan Bodewig commented on COMPRESS-228:

well, maybe the non-native speaker in me is the problem here.  To me "MUST only appear if"
translates to "must not be present unless", but maybe it means "can be there, but if the record
field is set to all-1s, then it must be present".

Anyway, unzip 6.10 simply ignores excess data, we can do so as well.
> ZipException on reading valid zip64 file
> ----------------------------------------
>                 Key: COMPRESS-228
>                 URL:
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Archivers
>    Affects Versions: 1.5
>         Environment: Runtime Environment
> java.home=/usr/lib/jvm/java-6-openjdk-amd64/jre
> java.runtime.version=1.6.0_27-b27
> commons-compress-1.5
>            Reporter: Valerij Bancer
>              Labels: zip, zip64
>         Attachments:
> ZipFile zip = new ZipFile(new File("")); throws ZipException "central
directory zip64 extended information extra field's length doesn't match central directory
data.  Expected length 16 but is 28".
> The archive was created by using DotNetZip-WinFormsTool uzing zip64 flag (forces always
to make zip64 archives).
> Zip file is tested from the console: $zip -T
> Output:
> test of OK
> I can open the archive with FileRoller without problem on my machine, browse and extract

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:

View raw message