[File] file-5.46 segfault on Cygwin (only)

raf file at raf.org
Fri May 22 23:17:41 EDT 2026


Hi,

The current version of file/libmagic on Cygwin is 5.46.

It crashes when trying to analyse the zipfile
CookieAutoDelete at kennydo.com.xpi (a Firefox addon).
This is without decompressing the zipfile to allow
further analsis.

It's here for reference (raf.org/tmp/CookieAutoDelete at kennydo.com.xpi).

Strangely, 5.46 on macOS and Debian don't crash with this file.
It's just the 5.46 on Cygwin.

I compiled 5.46 on Cygwin myself to see if it's something
wrong just with the Cygwin package of file-devel but that
crashed too.

5.47 on all three systems doesn't crash, so that's good.

So, if anyone here has anything to do with packaging file-devel
for Cygwin, please update the package to 5.47.

I'll subscribe to Cywin's mailing list and let them know as well.

cheers,
raf



More information about the File mailing list