File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 32
32
#include "file.h"
33
33
34
34
#ifndef lint
35
- FILE_RCSID ("@(#)$File: softmagic.c,v 1.176 2014/02/18 17:59:21 kim Exp $" )
35
+ FILE_RCSID ("@(#)$File: softmagic.c,v 1.177 2014/02/21 14:32:48 christos Exp $" )
36
36
#endif /* lint */
37
37
38
38
#include "magic.h"
@@ -72,7 +72,7 @@ private void cvt_16(union VALUETYPE *, const struct magic *);
72
72
private void cvt_32 (union VALUETYPE * , const struct magic * );
73
73
private void cvt_64 (union VALUETYPE * , const struct magic * );
74
74
75
- #define OFFSET_OOB (n , o , i ) ((n) < (o) || (i) >= ((n) - (o)))
75
+ #define OFFSET_OOB (n , o , i ) ((n) < (o) || (i) > ((n) - (o)))
76
76
/*
77
77
* softmagic - lookup one file in parsed, in-memory copy of database
78
78
* Passed the name and FILE * of one file to be typed.
You can’t perform that action at this time.
0 commit comments