summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gzip
Commit message (Collapse)AuthorAgeFilesLines
* Correct directory traversal and race condition vulnerabilities in gzip.simon2005-06-081-8/+10
| | | | | | | Security: FreeBSD-SA-05:11.gzip Security: CAN-2005-0988, CAN-2005-1228 Obtained from: Steve Grubb via RedHat, Debian Approved by: nectar
* Bring in fix from gzip 1.3.3 to avoid crashes when processing certain corrupttjr2004-08-131-6/+8
| | | | | | | | | | | | input files: 1999-06-25 Paul Eggert <eggert@twinsun.com> * inflate.c (huft_build): Set n to length of v, to detect improper tables. Don't accidentally grow j past z. MFC after: 3 days
* Restore vendor Id.obrien2004-05-031-1/+3
|
* Tweak to rev 1.8 to match the offical http://www.gzip.org/gzip-1.2.4b.patchobrien2004-05-031-2/+3
|
* Gzip assumes 'unsigned long' is 32-bits wide and depends on this.obrien2004-05-021-3/+6
| | | | | | | | | | | | | | One thing Gzip does is implicitly by store the size of a file into an 'unsigned long' rather than explicitly compute the remainder modulo 2^32 (see RFC 1952 section 2.3.1 "ISIZE"). Thus an extracted file size is does not equal the original size (mod 2^32) for files larger than 4GB. This manifests itself in errors such as: zcat: bigfile.gz: invalid compressed data--length error PR: 66008, 66009 Submitted by: Peter Losher <Peter_Losher@isc.org> Patch by: tjr
* Apply patch from gzip web page to correctly decompress files larger thantjr2004-05-021-10/+14
| | | | 4GB on architectures with 64-bit long integers.
* Remove getopt*.c, we already have compatible getopt_long() in libcache2004-02-173-884/+1
|
* /rescue/g{{,un}zip,zcat} exist, so build this dynamically now.obrien2003-11-171-2/+0
|
* The third arg to strncmp() is size_t, not int. This causes a warning onpeter2003-10-261-1/+2
| | | | systems where size_t is long, not int.
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-172-2/+2
| | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
* Check for defined(__i386__) instead of just defined(i386) since the compileralfred2002-05-301-1/+1
| | | | will be updated to only define(__i386__) for ANSI cleanliness.
* Use mktemp(1) when creating temporary files.nectar2002-01-252-11/+16
|
* beforeinstall -> SCRIPTS.ru2001-04-071-19/+9
|
* MAN[1-9] -> MAN.ru2001-03-271-2/+2
|
* Use mktemp -t to respect TMPDIRkris2000-11-191-7/+7
| | | | Clean up temporary file at runtime
* Correct spelling : ascii -> ASCIIphantom1999-09-201-1/+3
| | | | | | PR: docs/13702 Submitted by: Stephen J. Roznowski <sjr@home.com> Reviewed by: mpp
* $Id$ -> $FreeBSD$peter1999-08-2726-26/+26
|
* Unbroke zforce.ru1999-08-112-13/+7
| | | | | PR: 8348 Submitted by: Christoph Weber-Fahr <wefa@callcenter.systemhaus.net>
* Fixes from OpenBSD:kris1999-05-289-26/+46
| | | | | | | | | | | Add $Id$ Removes temp file exploits in gzexe (predictable filenames) Fixes some typos Fixes a buffer overrun in gzip -S Don't prepend /usr/local/bin to path in scripts Correct location of /usr/share/misc/termcap Obtained from: OpenBSD
* Fixed printf format errors.bde1998-06-301-2/+2
|
* Use cc -E rather than cpp when looking for __ELF__peter1998-03-081-2/+2
|
* Make machine dependent asm code machine dependent. 8-)jb1998-01-251-3/+8
|
* Check argument filename length before copying.wosch1997-12-271-1/+8
| | | | $ gzip `perl -e 'for(1..10240){ print "a"}'`
* Workaround to avoid a strange core dump.wosch1997-12-261-1/+3
| | | | gzip < /dev/null | perl -npe 's/\003\003/\003\225/' | gzip -d
* Do not install the z*grep man pages if grep was linked with -lz.wosch1997-12-261-3/+5
|
* When called as `zgrep', the -Z argument is assumed. Make awosch1997-12-211-8/+9
| | | | | | | link from zgrep to grep. Pointed out by: Tim Vanderhoek <hoek@hwcn.org> and Mike Smith <mike@smith.net.au>
* Added zgrep.libz. This version of zgrep(1) depend on awosch1997-12-202-2/+27
| | | | grep(1) linked with libz.
* Use getopts instead getopt(1). This should fix the problemwosch1997-12-071-27/+26
| | | | | with whitespaces in pattern. PR: 5211
* spelling corrections.wosch1997-09-131-1/+1
| | | | | PR: docs/4450 Submitted by: josh@quick.net
* Dont use an internal function called warn it clashes with libc.sos1997-08-293-11/+5
| | | | Allows ELF compile.
* Don't accidently compress "sh" or there are unfortunate consequences.peter1997-08-091-1/+1
| | | | | PR: 4220 Submitted-by: Dag-Erling Coidan Smørgrav <finrod@pugwash.priv.no>
* NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".pst1997-06-291-2/+2
| | | | | | NOPIC is used to not generate a shared library, not NOSHARED. Make NOSHARED advisory where appropriate. Remove bogus NOSHARED (kbdio).
* Understand `--' to end processing of command options.wosch1997-04-191-5/+5
| | | | | This means one search for a string starting with a dash. Fix also filenames starting with a dash. Close PR #3349
* Remove unnecessary chmod()'s. This should likely go in other branches.guido1997-03-151-3/+1
| | | | Obtained from: aleph1@UNDERGROUND.ORG on Bugtraq
* Revert $FreeBSD$ to $Id$peter1997-02-2218-18/+18
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1418-18/+18
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Don't install zgrep twice.bde1996-08-281-2/+2
|
* sync copyright with /usr/share/examples/etc/bsd-style-copyrightwosch1996-08-271-3/+26
|
* install fast version of zgrepwosch1996-07-021-1/+3
|
* fasterwosch1996-05-121-0/+72
| | | | | | | | | | average 2-3 x for option -h or -q 10 x handle option -q and -L better exit status, similar to grep (0: matches found 1: no matches found 2: error)
* ``mv'' -> ``mv -f''wosch1996-05-071-1/+2
| | | | | ``rm'' -> ``rm -f'' so mv/rm may not ask for confirmation if you are not root
* Another round of man page cleanups.mpp1996-02-121-1/+1
| | | | Down to only about 100 items left to cleanup! :-)
* Correct some manual page cross reference errors. E.g. su is a sectionmpp1996-02-022-2/+3
| | | | | one man page, not section eight. This is the first round of such changes and only fixes man pages in manual section one.
* Add missing manpage zgrep.1 and links zegrep.1, zfgrep.1wosch1996-01-231-2/+5
| | | | Add missing links zegrep and zfgrep
* This commit was generated by cvs2svn to compensate for changes in r13122,peter1995-12-301-67/+0
| | | | which included commits to RCS files with non-trunk default branches.
* recording cvs-1.6 file deathpeter1995-12-301-151/+0
|
* Change `install' to `${INSTALL}' so that default install flags can bebde1995-07-251-1/+1
| | | | specified in the top level Makefiles.
* Remove trailing whitespace.rgrimes1995-05-309-57/+57
|
* Make gzip static by default. This is needed because it's such ajkh1994-06-151-0/+1
| | | | frequent companion to tar.
* Updated gzip from version 1.2.2 to 1.2.4 due to popular demandnate1993-10-1429-306/+623
|
OpenPOWER on IntegriCloud