From 106b4c60ef73bba8670267a966ee7d59a4d0ed97 Mon Sep 17 00:00:00 2001 From: James Woodcock Date: Mon, 19 May 2014 20:07:16 +0100 Subject: [PATCH] MSDOS can not handle the corruption test. --- compress.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compress.c b/compress.c index 3f83a6e..f35c852 100644 --- a/compress.c +++ b/compress.c @@ -337,11 +337,13 @@ uncompress(Header *header, FILE *ifp, FILE *ofp, CompType type) while (code >= 256) { +#ifndef __MSDOS__ if ((char *)(stackp+1) > (char *)(&htab[0] + HSIZE)) { fprintf(stderr, "%s: uncompress: corrupt or garbled archive file\n", ourname); exit(1); } +#endif *stackp++ = tab_suffixof(code); code = tab_prefixof(code); } -- 2.11.4.GIT