Commit Graph

31 Commits

Author SHA1 Message Date
delphij
a2166b0cec Upgrade to Bzip2 version 1.0.8.
MFC after:	3 days
2019-08-11 06:26:03 +00:00
delphij
5fdffd8987 Upgrade to Bzip2 version 1.0.7.
MFC after:	3 days
2019-06-28 05:11:02 +00:00
amdmi3
de0705f5c5 bzip2 does not exit after showing license as requested with --version
or --license as most apps would do, instead it waits for data to
compress on stdin. Because of that, if `bzip2 --version' is called,
bogus `bzip2: I won't write compressed data to a terminal' error
message will be displayed, and checking for bzip2 version in scripts
as in

    bzip2 --version 2>&1 | grep -o "Version [^,]*"

will hand as bzip2 would wait for data to compress on stdin. Fix
this by exiting right after showing version/license text.

I've tried to push this upstream for more than a year, but author
is unresponsive, so upstream may be considered dead.

Ubuntu applies similar fix, for the note.

PR:		199443
Approved by:	dim, bapt
MFC after:	2 weeks
Differential Revision:	D8924
2016-12-28 18:04:18 +00:00
bapt
ae9480694e Remove unknown macro 2014-12-26 07:36:42 +00:00
delphij
de36ad45b6 Remove a few files that are not needed for FreeBSD.
PR:		bin/171555
Approved by:	obrien
2012-09-11 21:16:22 +00:00
dim
b1d87fffec In contrib/bzip2/bzip2recover.c, use the correct printf length modifier
for unsigned long long.

MFC after:	1 week
2011-12-17 12:52:58 +00:00
obrien
bf51c23bf0 Upgrade to Bzip2 version 1.0.6.
Reviewed by: SO (cperciva)
2010-11-09 18:32:57 +00:00
cperciva
700331dbb1 Fix an integer overflow in RLE length parsing when decompressing
corrupt bzip2 data.

Approved by:	so (cperciva)
Security:	FreeBSD-SA-10:08.bzip2
2010-09-20 14:58:08 +00:00
des
32589bd8e2 Update and remove CVS-specific items
Approved by:	re (kib)
2009-08-13 06:07:38 +00:00
delphij
483fb0e3a1 Resolve conflicts. 2008-03-20 02:56:24 +00:00
delphij
b5af09de3a Update upgrade instructions to reflect 1.0.5 import; add FREEBSD-vendor
metadata file.
2008-03-20 02:45:32 +00:00
delphij
2efff07a9a This commit was generated by cvs2svn to compensate for changes in r177420,
which included commits to RCS files with non-trunk default branches.
2008-03-20 02:16:44 +00:00
delphij
f7f2bc33c7 Virgin import (trimmed) of Bzip2 version 1.0.5. 2008-03-20 02:16:44 +00:00
delphij
026d857fb3 Update with bzip2's URL. 2007-03-30 16:33:05 +00:00
delphij
37ec1b7b98 Remove manual.texi which does not belong to this distribution 2007-03-28 07:58:30 +00:00
delphij
9327db6ec2 This commit was generated by cvs2svn to compensate for changes in r167984,
which included commits to RCS files with non-trunk default branches.
2007-03-28 07:58:30 +00:00
delphij
fc40ceea95 Reflect 1.0.4 import. 2007-03-28 07:56:14 +00:00
delphij
9970e273e6 Remove Y2K_INFO which does not belong to this distribution 2007-03-28 07:55:07 +00:00
delphij
62b847866d This commit was generated by cvs2svn to compensate for changes in r167981,
which included commits to RCS files with non-trunk default branches.
2007-03-28 07:55:07 +00:00
delphij
97f065c365 Resolve conflicts. 2007-03-28 07:46:20 +00:00
delphij
59d35d7690 bzip2.c: SA-05:14.bzip2 has been resolved by the author
in a different way.  Make the file just the same as it
is in the vendor branch to make it easier for future
upgrade.
2007-03-28 07:45:41 +00:00
delphij
3874375505 Virgin import (trimmed) of Bzip2 version 1.0.4. 2007-03-28 07:35:07 +00:00
delphij
c3bc200c29 This commit was generated by cvs2svn to compensate for changes in r167974,
which included commits to RCS files with non-trunk default branches.
2007-03-28 07:35:07 +00:00
simon
76d3f5f676 Fix ipfw packet matching errors with address tables.
The ipfw tables lookup code caches the result of the last query.  The
kernel may process multiple packets concurrently, performing several
concurrent table lookups.  Due to an insufficient locking, a cached
result can become corrupted that could cause some addresses to be
incorrectly matched against a lookup table.

Submitted by:	ru
Reviewed by:	csjp, mlaier
Security:	CAN-2005-2019
Security:	FreeBSD-SA-05:13.ipfw

Correct bzip2 permission race condition vulnerability.

Obtained from:	Steve Grubb via RedHat
Security:	CAN-2005-0953
Security:	FreeBSD-SA-05:14.bzip2
Approved by:	obrien

Correct TCP connection stall denial of service vulnerability.

A TCP packets with the SYN flag set is accepted for established
connections, allowing an attacker to overwrite certain TCP options.

Submitted by:	Noritoshi Demizu
Reviewed by:	andre, Mohan Srinivasan
Security:	CAN-2005-2068
Security:	FreeBSD-SA-05:15.tcp

Approved by:	re (security blanket), cperciva
2005-06-29 21:36:49 +00:00
sobomax
eb9b77e827 Make bzip2 support working again after bzip2 upgrade. This time commit
BZ_NO_COMPRESS support to the bzip2 sources directly (yes, this takes file
off the vendor branch, but looks like bzip2 maintainer doesn't care), so that
it will not be removed when the next upgrade is performed. Also, add a short
note on how to test bzip2 support.

Pointy hat to:  obrien

Correct comment (libz -> libbz2) and remove useless full path to zutil.h
while I am here.
2005-05-29 21:56:38 +00:00
obrien
d80e4b8864 Update to match the 1.0.3 import. 2005-05-16 18:56:30 +00:00
obrien
344ba35988 Virgin import (trimmed) of Bzip2 version 1.0.3. 2005-05-16 18:31:55 +00:00
obrien
a8891cc2a4 This commit was generated by cvs2svn to compensate for changes in r146293,
which included commits to RCS files with non-trunk default branches.
2005-05-16 18:31:55 +00:00
sobomax
2911dcf482 Add upgrade instructions. 2002-02-01 16:34:13 +00:00
sobomax
b718740c2f Virgin import (trimmed) of Bzip2 version 1.0.2 2002-02-01 16:28:01 +00:00
obrien
da41d3ce6e Virgin import (trimmed) of Bzip2 version 1.0.1. 2001-06-21 18:37:17 +00:00