You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2012/06/30 15:29:43 UTC

[jira] [Resolved] (TIKA-900) Tika fails to detect ISO9660 disk images

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

Jukka Zitting resolved TIKA-900.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2
         Assignee: Jukka Zitting

Thanks! I committed the patch in revision 1355736.
                
> Tika fails to detect ISO9660 disk images
> ----------------------------------------
>
>                 Key: TIKA-900
>                 URL: https://issues.apache.org/jira/browse/TIKA-900
>             Project: Tika
>          Issue Type: Bug
>          Components: mime
>    Affects Versions: 1.1
>         Environment: Any.
>            Reporter: Andrew Jackson
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: iso-image-detection.patch
>
>
> I have been testing Tika's ability to identify ISO9660 disk image file systems, and discovered two problems. Firstly, the offset match matcher was wrong (37633 instead of 32769). Secondly, and more seriously, it was impossible for that signaure to ever match, because the default buffer size was far too small. It is currently set to 8KB, and as this signature is some 36KB into the file, Tika could never find the match. The attached patch fixes the magic, and extends the buffer to 64KB.

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