commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (Jira)" <>
Subject [jira] [Commented] (COMPRESS-494) ZipArchieveInputStream component is throwing "Invalid Entry Size"
Date Sat, 12 Oct 2019 10:43:00 GMT


Stefan Bodewig commented on COMPRESS-494:

[~anveshmora]we can also arrange for sharing an archive in a non-public way.

The real question, independent of a concrete archive, is how has the archive been created
and why does it claim to have entries with a negative size. Here it really would help to have
access to the local file header and the central directory entry - I don't really need the
file's contents, just the metadata stored inside of the zip in binary form.

> ZipArchieveInputStream component is throwing "Invalid Entry Size"
> -----------------------------------------------------------------
>                 Key: COMPRESS-494
>                 URL:
>             Project: Commons Compress
>          Issue Type: Bug
>    Affects Versions: 1.8, 1.18
>            Reporter: Anvesh Mora
>            Priority: Critical
> I've observed in my development in certain zip files which we are able to extract with
with unzip utility on linux is failing with our Compress library.
> As of now I've stack-trace to share, I'm gonna add more in here as on when discussion
begins on this:
> {code:java}
> Caused by: java.lang.IllegalArgumentException: invalid entry size
>         at
>         at
>         at
>         at
>         at
>         at
> a:382)
> {code}
> I missed to add version info, below are those:
> version of lib I'm using is: 1.9
> And I did try version 1.18, issue is observed in this version too.

This message was sent by Atlassian Jira

View raw message