aboutsummaryrefslogtreecommitdiff
path: root/contrib/bzip2/bzip2.c
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to Bzip2 version 1.0.8.Xin LI2019-08-111-10/+10
|\ | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=350855
* | Upgrade to Bzip2 version 1.0.7.Xin LI2019-06-281-14/+16
|\| | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=349505
* | bzip2 does not exit after showing license as requested with --versionDmitry Marakasov2016-12-281-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=310718
* | Upgrade to Bzip2 version 1.0.6.David E. O'Brien2010-11-091-4/+4
|\| | | | | | | | | | | | | Reviewed by: SO (cperciva) Notes: svn path=/head/; revision=215041
| * Flatten the bzip2 vendor area in preparations for the 1.0.6 import.David E. O'Brien2010-10-021-2034/+0
| | | | | | | | Notes: svn path=/vendor/bzip2/dist/; revision=213348
| * Virgin import (trimmed) of Bzip2 version 1.0.5.vendor/bzip2/1.0.5Xin LI2008-03-201-4/+4
| | | | | | | | | | Notes: svn path=/vendor/bzip2/dist/; revision=177420 svn path=/vendor/bzip2/1.0.5/; revision=177422; tag=vendor/bzip2/1.0.5
| * Virgin import (trimmed) of Bzip2 version 1.0.4.Xin LI2007-03-281-139/+66
| | | | | | | | Notes: svn path=/vendor/bzip2/dist/; revision=167974
* | Resolve conflicts.Xin LI2008-03-201-4/+4
| | | | | | | | Notes: svn path=/head/; revision=177424
* | bzip2.c: SA-05:14.bzip2 has been resolved by the authorXin LI2007-03-281-147/+52
| | | | | | | | | | | | | | | | | | in a different way. Make the file just the same as it is in the vendor branch to make it easier for future upgrade. Notes: svn path=/head/; revision=167977
* | Fix ipfw packet matching errors with address tables.Simon L. B. Nielsen2005-06-291-7/+29
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=147666
* Virgin import (trimmed) of Bzip2 version 1.0.3.David E. O'Brien2005-05-161-8/+12
| | | | Notes: svn path=/vendor/bzip2/dist/; revision=146293
* Virgin import (trimmed) of Bzip2 version 1.0.2vendor/bzip2/1.0.2Maxim Sobolev2002-02-011-237/+296
| | | | | Notes: svn path=/vendor/bzip2/dist/; revision=90067 svn path=/vendor/bzip2/1.0.2/; revision=90069; tag=vendor/bzip2/1.0.2
* Virgin import (trimmed) of Bzip2 version 1.0.1.vendor/bzip2/1.0.1David E. O'Brien2001-06-211-0/+2044
Notes: svn path=/vendor/bzip2/dist/; revision=78556 svn path=/vendor/bzip2/1.0.1/; revision=78558; tag=vendor/bzip2/1.0.1