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 2014/02/10 14:08:21 UTC

[jira] [Updated] (COMPRESS-262) TarArchiveInputStream fails to read entry with big user-id value

     [ https://issues.apache.org/jira/browse/COMPRESS-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig updated COMPRESS-262:
------------------------------------

    Summary: TarArchiveInputStream fails to read entry with big user-id value  (was: Can't get next entry for tar file.)

> TarArchiveInputStream fails to read entry with big user-id value
> ----------------------------------------------------------------
>
>                 Key: COMPRESS-262
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-262
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Compressors
>    Affects Versions: 1.4.1, 1.5, 1.6, 1.7
>            Reporter: goodluck
>            Priority: Critical
>              Labels: extractor, tar
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Caused by: java.lang.IllegalArgumentException: Invalid byte 52 at offset 7 in '62410554' len=8
> 	at org.apache.commons.compress.archivers.tar.TarUtils.parseOctal(TarUtils.java:130)
> 	at org.apache.commons.compress.archivers.tar.TarUtils.parseOctalOrBinary(TarUtils.java:175)
> 	at org.apache.commons.compress.archivers.tar.TarArchiveEntry.parseTarHeader(TarArchiveEntry.java:953)
> 	at org.apache.commons.compress.archivers.tar.TarArchiveEntry.parseTarHeader(TarArchiveEntry.java:940)
> 	at org.apache.commons.compress.archivers.tar.TarArchiveEntry.<init>(TarArchiveEntry.java:324)
> 	at org.apache.commons.compress.archivers.tar.TarArchiveInputStream.getNextTarEntry(TarArchiveInputStream.java:247)
> 	... 5 more



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)