commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COMPRESS-383) ArrayIndexOutOfBoundsException in ZipArchiveInputStream.read
Date Wed, 15 Feb 2017 08:38:42 GMT

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

Stefan Bodewig commented on COMPRESS-383:
-----------------------------------------

this is what I get when running the example using the current master (just so we've got a
stack trace):

{code}
zip bytes: 12497722
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
	at org.apache.commons.compress.archivers.zip.ZipArchiveInputStream.read(ZipArchiveInputStream.java:406)
	at ZipCrash.convertZipToTar(ZipCrash.java:30)
	at ZipCrash.convertZipToTar(ZipCrash.java:45)
	at ZipCrash.main(ZipCrash.java:14)
{code}



> ArrayIndexOutOfBoundsException in ZipArchiveInputStream.read
> ------------------------------------------------------------
>
>                 Key: COMPRESS-383
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-383
>             Project: Commons Compress
>          Issue Type: Bug
>    Affects Versions: 1.13
>         Environment: OS X 10.11.6, Java 1.8.0_72
>            Reporter: Mike Wertheim
>         Attachments: test.zip, ZipCrash.java
>
>
> The attached zip file was created on Mac OS X (10.11.6) and is unzippable on Mac OS X.
> The attached java program demonstrates a crash in ZipArchiveInputStream.read when it
tries to read this zip file.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message