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 2010/02/12 12:40:27 UTC

[jira] Commented: (COMPRESS-73) ZipArchiveInputStream cannot handle some valid files

    [ https://issues.apache.org/jira/browse/COMPRESS-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832961#action_12832961 ] 

Stefan Bodewig commented on COMPRESS-73:
----------------------------------------

The specific zip file named zip-problem.zip attached to COMPRESS-62 contains entries with extra data that doesn't conform to the recommendations for extra fields from the "standard".

This is what InfoZIP's zip invoked with -Tv says (several similar messages):

    testing: D_/Installers/installer 2005.1 rc1/icon-32x32.gif  bad extra-field entry:
      EF block length (12595 bytes) exceeds remaining EF data (6 bytes)

and with svn revision 909366 you'll see a very similar exception message.

In order to fix this issue, we'd have to change the behavior from "fail for 'broken' extra fields" to "ignore 'broken' extra fields".  I'll start a discussion on the dev list.


> ZipArchiveInputStream cannot handle some valid files
> ----------------------------------------------------
>
>                 Key: COMPRESS-73
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-73
>             Project: Commons Compress
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Sebb
>             Fix For: 1.1
>
>
> See COMPRESS-62

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