#include "file.h"
#ifndef lint
-FILE_RCSID("@(#)$File: apprentice.c,v 1.268 2017/11/10 03:44:05 christos Exp $")
+FILE_RCSID("@(#)$File: apprentice.c,v 1.269 2017/11/14 15:19:45 christos Exp $")
#endif /* lint */
#include "magic.h"
file_magwarn(ms, "offset `%s' invalid", l);
return -1;
}
+#if 0
if (m->offset < 0 && cont_level != 0 &&
(m->flag & (OFFADD | INDIROFFADD)) == 0) {
if (ms->flags & MAGIC_CHECK) {
}
return -1;
}
+#endif
l = t;
if (m->flag & INDIR) {
#include "file.h"
#ifndef lint
-FILE_RCSID("@(#)$File: softmagic.c,v 1.255 2017/11/03 23:27:49 christos Exp $")
+FILE_RCSID("@(#)$File: softmagic.c,v 1.256 2017/11/14 15:19:45 christos Exp $")
#endif /* lint */
#include "magic.h"
if (cont_level > 0) {
if (m->flag & (OFFADD|INDIROFFADD))
goto normal;
+#if 0
file_error(ms, 0, "negative offset %d at continuation"
"level %u", m->offset, cont_level);
return -1;
+#endif
}
if (buffer_fill(b) == -1)
return -1;