commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Marquez Grabia (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (COMPRESS-380) Support for ENHANCED_DEFLATED (Deflate64) in ZIP files
Date Wed, 13 Dec 2017 15:31:00 GMT

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

Christian Marquez Grabia edited comment on COMPRESS-380 at 12/13/17 3:30 PM:
-----------------------------------------------------------------------------

[~dawid.weiss] Thanks for the updates. I have created this classes based on different research
on multiple deflate de-compression samples I was able to find using the masking concepts for
the literals / distance tables as well as the state concept, all brought into Java 'style'.

I left it all to jira since this is more about the providing patches to the apache library
I figured it would be applicable mostly to jira users (didn't want to add noise around it)

-- EDIT --
About the Apache Headers, I'm ok with it. I will try to get those from other classes and update
the patch later today.


was (Author: chalmagr84):
[~dawid.weiss] Thanks for the updates. I have created this classes based on different research
on multiple deflate de-compression samples I was able to find using the masking concepts for
the literals / distance tables as well as the state concept, all brought into Java 'style'.

I left it all to jira since this is more about the providing patches to the apache library
I figured it would be applicable mostly to jira users (didn't want to add noise around it)

> Support for ENHANCED_DEFLATED (Deflate64) in ZIP files
> ------------------------------------------------------
>
>                 Key: COMPRESS-380
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-380
>             Project: Commons Compress
>          Issue Type: New Feature
>            Reporter: Dawid Weiss
>         Attachments: compress-380.diff
>
>
> Some of the (large) ZIP files we try to process currently will throw this:
> {code}
> UnsupportedZipFeatureException: unsupported feature method 'ENHANCED_DEFLATED' 
> {code}
> which is a bummer since JDK's implementation also doesn't support Deflate64. This seems
to be PKWare's extensions, although code to decrypt it exists in zlib (and is appropriately
licensed, I believe).
> https://github.com/madler/zlib/tree/master/contrib/infback9



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message