Commit Graph

9 Commits

Author SHA1 Message Date
itojun 815ede9ef4 gzip long filename buffer overrun vulnerability. from 1.2.4 -> 1.2.4b fix
http://www.securityfocus.com/bid/3712
2002-01-15 09:18:15 +00:00
lukem 03a3aa379d use off_t instead of long to store sizes which will be displayed with "--list".
fixes wacky display problems for files > 2GB in size.  tested ok on i386 and
alpha (no change for the latter).
2001-07-07 21:57:41 +00:00
simonb 87db6e6fc9 Recognise .bz2 as a valid suffix. 2000-11-17 01:31:26 +00:00
simonb d90538535d Back out previous change now that "decompress" is not exported by libbz2. 1999-08-20 02:36:28 +00:00
simonb a8733a30d9 Argh - both gzip.c and libbz have a "decompress" symbol. For now,
rename gzip.c's decompress to de_compress.  I emailed the author
of libbz back in December about this and haven't heard anything
since...

Thanks to enami tsugutomo for pointing this out.
1999-07-27 00:36:10 +00:00
simonb b376436feb Handle decompressing bzip2 files. 1999-07-25 07:06:05 +00:00
tv a5e6bce521 Do not chmod files to 0777 before unlinking. NetBSD (and POSIX.1) specify
that this is unnecessary (only permission on the file's directory is
necessary), and it has security implications (see PR #5094).  There may be
other race-condition-related implications here that this change fixes, as
well.
1998-03-06 18:17:12 +00:00
jtc 60ac16520b Update to Nate's port of gzip 1.2.4 he did for FreeBSD.
All I had to do is restore the RCSID's for the manual pages.
1993-10-15 23:05:16 +00:00
jtc c5848148de GNU Gzip 1.2.2 1993-07-09 15:47:36 +00:00