]> granicus.if.org Git - file/commitdiff
PR/449: Limit matching of mach-o multi-architecture magic
authorChristos Zoulas <christos@zoulas.com>
Fri, 29 May 2015 14:21:58 +0000 (14:21 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 29 May 2015 14:21:58 +0000 (14:21 +0000)
magic/Magdir/cafebabe

index 0c4a89f1413fcc976aeb169c4368afe8209ca532..51e97c4ab9f445cbd148b7040a21822688410664 100644 (file)
@@ -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,
 !: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 ###