[
https://issues.apache.org/jira/browse/TIKA-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oliver Boldt updated TIKA-1039:
-------------------------------
Attachment: SimpleTestFile.raw
> Raw image file detected as audio/mpeg
> -------------------------------------
>
> Key: TIKA-1039
> URL: https://issues.apache.org/jira/browse/TIKA-1039
> Project: Tika
> Issue Type: Bug
> Components: mime
> Affects Versions: 1.2
> Reporter: Oliver Boldt
> Attachments: SimpleTestFile.raw
>
>
> A raw image file that starts with a long sequence of FFFF.... is recognised
> as audio/mpeg.
> The problem is that the raw file does not have a magic number itself and the
> FF...-pixeldata is wrongly interpreted as an mpeg file. The bug seems to be a
> general problem, because other image data could be misinterpreted as other
> magic numbers.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira