<div dir="ltr"><div dir="ltr"><div>Hello,</div><div><br></div><div>
In file 5.45, some JPEG2000 images are misidentified as "application/SIMH-tape-data".</div><div>This can be avoided using the "-e simh" argument showing the problem is located in the is_simh.c.</div><div><br></div><div>Indeed, any identification made directly by code supersedes any pattern defined in MAGIC.</div><div><br></div><div>In the case of SIMH-tape-data vs JPEG2000, the problem is emphasized by the fact that the first one is little-endian while the second is big-endian. So only 5 longs (over 7MB of data) are tested to declare the file as being SIMH-data.</div><div><br></div><div>I propose a pull-request at <a href="https://github.com/file/file/pull/145" target="_blank">https://github.com/file/file/pull/145</a> that tries to alleviate this issue.</div><div><br></div><div>Thanks</div><div> Thomas</div></div>
</div>