commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COMPRESS-204) ArchiveStreamFactory incorrectly detects txt file as tar
Date Mon, 01 Oct 2012 17:07:07 GMT

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

Daniel Lowe updated COMPRESS-204:
---------------------------------

    Attachment: US5747498.txt

This file is interpreted as being a tar!
                
> ArchiveStreamFactory incorrectly detects txt file as tar
> --------------------------------------------------------
>
>                 Key: COMPRESS-204
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-204
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Archivers
>    Affects Versions: 1.4.1
>         Environment: JDK 1.6 64-bit
>            Reporter: Daniel Lowe
>         Attachments: US5747498.txt
>
>
> The fix for COMPRESS-117 relies on TarArchiveInputStream's getNextEntry method throwing
an exception. This isn't true for all non-tar files. An example is attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message