commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <>
Subject [jira] [Updated] (COMPRESS-191) Too relaxed tar detection in ArchiveStreamFactory
Date Sat, 30 Jun 2012 09:06:42 GMT


Jukka Zitting updated COMPRESS-191:

    Attachment: 0001-COMPRESS-191-Too-relaxed-tar-detection-in-ArchiveStr.patch

The attached patch adds heuristics for verifying the tar header checksum, and uses that mechanism
to better avoid false positives in ArchiveStreamFactory.
> Too relaxed tar detection in ArchiveStreamFactory
> -------------------------------------------------
>                 Key: COMPRESS-191
>                 URL:
>             Project: Commons Compress
>          Issue Type: Improvement
>          Components: Archivers
>    Affects Versions: 1.2, 1.3, 1.4, 1.4.1
>            Reporter: Jukka Zitting
>            Priority: Minor
>              Labels: tar
>         Attachments: 0001-COMPRESS-191-Too-relaxed-tar-detection-in-ArchiveStr.patch
> The relaxed tar detection logic added in COMPRESS-177 unfortunately matches
> also some non-tar files like a [test AIFF file|]
that Apache Tika uses. It would be good to improve the detection heuristics to still match
files like the one in COMPRESS-177 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:!default.jspa
For more information on JIRA, see:


View raw message