From: Christos Zoulas Date: Fri, 29 May 2015 14:21:58 +0000 (+0000) Subject: PR/449: Limit matching of mach-o multi-architecture magic X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=01cec02df0cfb447b4cf4d186fbe8e66b6b82da8;p=file PR/449: Limit matching of mach-o multi-architecture magic --- diff --git a/magic/Magdir/cafebabe b/magic/Magdir/cafebabe index 0c4a89f1..51e97c4a 100644 --- a/magic/Magdir/cafebabe +++ b/magic/Magdir/cafebabe @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: cafebabe,v 1.19 2015/05/21 18:28:41 christos Exp $ +# $File: cafebabe,v 1.20 2015/05/29 14:21:58 christos Exp $ # Cafe Babes unite! # # Since Java bytecode and Mach-O universal binaries have the same magic number, @@ -59,9 +59,11 @@ !:mime application/x-mach-binary >>>8 use mach-o \b >>>28 use mach-o \b ->>4 belong >2 +>>4 belong 2 >>>48 use mach-o \b ->>4 belong >3 +>>4 belong 3 >>>68 use mach-o \b +>>4 belong 4 +>>>88 use mach-o \b ### MACH-O END ###