Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Not A Bug
-
1.8, 1.18
-
None
-
None
-
None
Description
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:
Caused by: java.lang.IllegalArgumentException: invalid entry size at org.apache.commons.compress.archivers.zip.ZipArchiveEntry.setSize(ZipArchiveEntry.java:550) at org.apache.commons.compress.archivers.zip.ZipArchiveInputStream.readDataDescriptor(ZipArchiveI nputStream.java:702) at org.apache.commons.compress.archivers.zip.ZipArchiveInputStream.bufferContainsSignature(ZipArc hiveInputStream.java:805) at org.apache.commons.compress.archivers.zip.ZipArchiveInputStream.readStoredEntry(ZipArchiveInpu tStream.java:758) at org.apache.commons.compress.archivers.zip.ZipArchiveInputStream.readStored(ZipArchiveInputStre am.java:407) at org.apache.commons.compress.archivers.zip.ZipArchiveInputStream.read(ZipArchiveInputStream.jav a:382)
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.