aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>1997-12-26 21:12:26 +0000
committerWolfram Schneider <wosch@FreeBSD.org>1997-12-26 21:12:26 +0000
commit9c8ac6c7428bb96bbc7cf4b7f02f009897e10af9 (patch)
tree4b47c66d68fa38e164861942938e58a541ba9a2d /gnu
parent71f461f86ab993507d7bf815e23a0d471a6a123c (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gzip/inflate.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/gzip/inflate.c b/gnu/usr.bin/gzip/inflate.c
index 8f498e6df7f3..e7416626b91c 100644
--- a/gnu/usr.bin/gzip/inflate.c
+++ b/gnu/usr.bin/gzip/inflate.c
@@ -97,7 +97,7 @@
*/
#ifdef RCSID
-static char rcsid[] = "$Id$";
+static char rcsid[] = "$Id: inflate.c,v 1.6 1997/02/22 15:45:58 peter Exp $";
#endif
#include <sys/types.h>
@@ -767,6 +767,8 @@ int inflate_dynamic()
return i; /* incomplete code set */
}
+ if (tl == NULL) /* Grrrhhh */
+ return 2;
/* read in literal and distance code lengths */
n = nl + nd;