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

2011-12-06 Thread Stefan Bodewig (Updated) (JIRA)

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

Stefan Bodewig updated COMPRESS-163:


Fix Version/s: (was: 1.3)
   1.4

 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




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

2011-12-03 Thread John Kodis (Updated) (JIRA)

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

John Kodis updated COMPRESS-163:


Attachment: 0003-Allow-reading-large-files-from-Posix-tar-archives.patch

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.  We correct this by dropping the test for a too-large value in the 
TarArchiveEntry.setSize method, and making the corresponding modifications to 
the testMaxFileSize() junit test.

Finally, in the getNextTarEntry method, we set the entrySize instance variable 
an additional time to pick up any larger size that may have been obtained as a 
result of processing any Posix Pax headers.


 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.3

 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