From: Christos Zoulas Date: Mon, 27 Jul 2015 15:24:00 +0000 (+0000) Subject: PR/468: decrease the strength of windows short magic so that HFS magic X-Git-Tag: FILE5_25~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2297b059457fda8b5025d93cd79b1f13ef817c00;p=file PR/468: decrease the strength of windows short magic so that HFS magic works --- diff --git a/magic/Magdir/windows b/magic/Magdir/windows index e60f69c7..c03b7184 100644 --- a/magic/Magdir/windows +++ b/magic/Magdir/windows @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: windows,v 1.9 2014/09/23 23:42:44 christos Exp $ +# $File: windows,v 1.10 2014/09/24 19:52:46 christos Exp $ # windows: file(1) magic for Microsoft Windows # # This file is mainly reserved for files where programs @@ -239,6 +239,7 @@ # http://read.pudn.com/downloads3/sourcecode/windows/248345/win2k/private/windows/setup/setupapi/inf.h__.htm # GRR: line below too general as it catches also PDP-11 UNIX/RT ldp 0 leshort&0xFeFe 0x0000 +!:strength -5 # test for unused null bits in PNF_FLAGs >4 ulelong&0xFCffFe00 0x00000000 # only found 58h for Offset of WinDirPath immediately after _PNF_HEADER structure