tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Jackson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TIKA-900) Tika fails to detect ISO9660 disk images
Date Mon, 23 Apr 2012 14:03:33 GMT
Andrew Jackson created TIKA-900:
-----------------------------------

             Summary: 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
            Priority: Minor


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 37633). Secondly,
and more seriously, it was impossible for that signaure to ever match, because the default
buffer size was far to 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

        

Mime
View raw message