From 724e39ee1a2d7020bc0c39210d0050e0f69ac3c6 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Fri, 29 May 2015 14:21:58 +0000 Subject: [PATCH] PR/449: Limit matching of mach-o multi-architecture magic --- magic/Magdir/cafebabe | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/magic/Magdir/cafebabe b/magic/Magdir/cafebabe index 74f0738d..aaa731af 100644 --- a/magic/Magdir/cafebabe +++ b/magic/Magdir/cafebabe @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: cafebabe,v 1.18 2015/02/05 19:04:03 christos Exp $ +# $File: cafebabe,v 1.19 2015/05/21 18:28:41 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 ### -- 2.40.0