Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-900

Tika fails to detect ISO9660 disk images

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1
    • 1.2
    • mime
    • None
    • Any.

    Description

      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.

      Attachments

        1. iso-image-detection.patch
          1 kB
          Andrew Jackson

        Activity

          People

            jukkaz Jukka Zitting
            anjackson Andrew Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: