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] [Resolved] (COMPRESS-191) Too relaxed tar detection in ArchiveStreamFactory
Date Sat, 07 Jul 2012 05:33:34 GMT

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

Stefan Bodewig resolved COMPRESS-191.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5

patch applied and a testcase added based on Tika's AIFF file.

svn revisions 1358504 and 1358506

Many thanks!
                
> Too relaxed tar detection in ArchiveStreamFactory
> -------------------------------------------------
>
>                 Key: COMPRESS-191
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-191
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Archivers
>    Affects Versions: 1.2, 1.3, 1.4, 1.4.1
>            Reporter: Jukka Zitting
>            Priority: Minor
>              Labels: tar
>             Fix For: 1.5
>
>         Attachments: 0001-COMPRESS-191-Too-relaxed-tar-detection-in-ArchiveStr.patch
>
>
> The relaxed tar detection logic added in COMPRESS-117 unfortunately matches also some
non-tar files like a [test AIFF file|https://svn.apache.org/repos/asf/tika/trunk/tika-parsers/src/test/resources/test-documents/testAIFF.aif]
that Apache Tika uses. It would be good to improve the detection heuristics to still match
files like the one in COMPRESS-117 but avoid false positives like the AIFF file in Tika.

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

        

Mime
View raw message