Re: file: crash with invalid magic file (+ patch)

2015-04-25 Thread Nicholas Marriott
Applied, thanks! On Sat, Apr 25, 2015 at 08:26:35PM +0200, S??bastien Marie wrote: > Hi, > > I would like to report a crash (coredump) with an invalid magic file > (MALLOC_OPTIONS=S is need to expose the bug). > > --- ~/.magic --- > 0 beshort 0xffd8 JPEG image data > !:mi

file: crash with invalid magic file (+ patch)

2015-04-25 Thread Sébastien Marie
Hi, I would like to report a crash (coredump) with an invalid magic file (MALLOC_OPTIONS=S is need to expose the bug). --- ~/.magic --- 0 beshort 0xffd8 JPEG image data !:mime image/jpeg >6 string JFIF\ --- end of file --- The problem is on the last line: th