Subject: CVS commit: [netbsd-2-0] src/usr.bin/gzip
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 07/19/2004 09:49:16
Module Name:	src
Committed By:	tron
Date:		Mon Jul 19 09:49:16 UTC 2004

Modified Files:
	src/usr.bin/gzip [netbsd-2-0]: gzip.c

Log Message:
Pull up revision 1.57 (requested by mrg in ticket #678):
- in gz_uncompress() be sure to do the crc/len recalculation insigned.
  fixes PR#26246.
- if crc/len are wrong, be sure to noticed it failed
- in check_suffixes(), be sure not to underrun an array (from yamt)
- don't fail so badly on short header, from and fixes R#26242 (also
  from yamt)
- more underrun avoidance in file_uncompress().  fixes PR#26241.


To generate a diff of this commit:
cvs rdiff -r1.29.2.23 -r1.29.2.24 src/usr.bin/gzip/gzip.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.