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 (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/07 12:36:39 UTC

[jira] [Resolved] (COMPRESS-163) Unable to extract a file larger than 8GB from a Posix-format tar archive

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

Stefan Bodewig resolved COMPRESS-163.
-------------------------------------

    Resolution: Fixed

The setSize Method is also used when creating entries prior to writing them and as long as Compress is unable to write archives with entries bigger than 8GiB it is better to keep the exception.

Therefore I opted to add a new setter method with svn revision 1211393
                
> Unable to extract a file larger than 8GB from a Posix-format tar archive
> ------------------------------------------------------------------------
>
>                 Key: COMPRESS-163
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-163
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Compressors
>    Affects Versions: 1.3
>         Environment: The tar archive used for testing was created by GNU tar, but the problem will occur with any Posix-formatted tar file containing files over 8GB in size.
>            Reporter: John Kodis
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: 0003-Allow-reading-large-files-from-Posix-tar-archives.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> An attempt to read a posix-format tar archive containing a file in excess of 8^11 bytes in size will fail with a "Size out of range" illegal argument exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira