Bjoern A. Zeeb
a06534c3c2
Fix handling of corrupt compress(1)ed data. [11:04]
...
Add missing length checks on unix socket addresses. [11:05]
Approved by: so (cperciva)
Approved by: re (kensmith)
Security: FreeBSD-SA-11:04.compress
Security: CVE-2011-2895 [11:04]
Security: FreeBSD-SA-11:05.unix
2011-09-28 08:47:17 +00:00
Joel Dahl
da52b4caaf
Remove the advertising clause from UCB copyrighted files in usr.bin. This
...
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
2010-12-11 08:32:16 +00:00
Benedict Reuschling
c4fadc2b78
Correct some typos in comments, no functional changes.
2010-10-16 15:24:04 +00:00
Xin LI
821df508e8
Revert most part of 200420 as requested, as more review and polish is
...
needed.
2009-12-13 03:14:06 +00:00
Xin LI
6f2d322192
Remove unneeded header includes from usr.bin/ except contributed code.
...
Tested with: make universe
2009-12-11 23:35:38 +00:00
Alexander Kabaev
39be1552ee
Unbreak r1.11 by delhij. Blind change from unsigned to signed char
...
pointer causes problems with sign extension and leads to compress(1)
dumping core on any non-trivial incoming data.
2005-05-18 05:24:08 +00:00
Xin LI
05195f8d61
Consistently use signed char so gcc4 won't complain
2005-05-02 10:23:03 +00:00
David Malone
47e9e6a168
ANSIify function definitions to avoid a warning.
2002-07-28 15:32:17 +00:00
Warner Losh
f1bb2cd2aa
remove __P
2002-03-22 01:22:50 +00:00
David Malone
9f5b04e925
Style improvements recommended by Bruce as a follow up to some
...
of the recent WARNS commits. The idea is:
1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.
2001-12-10 21:13:08 +00:00
Mark Murray
546c7f6629
Use __FBSDID().
...
Use a better choice than size_t for vertain variables.
Fix some comment alignment.
2001-12-02 23:58:38 +00:00
Mark Murray
cb08795bb0
WARNS=2 fix and 'register' removal.
2001-12-02 13:31:22 +00:00
Archie Cobbs
fa146c5335
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
1998-12-06 22:58:23 +00:00
Wolfram Schneider
6127186d3c
a header file for zopen.3
...
Pointed out by: Philippe Charnier <charnier@lirmm.fr>
1996-08-20 20:49:39 +00:00
Andreas Schulz
5cf1ec501a
Correct the usage of the maxmaxcode so that compress -b 12 works again.
...
Thanks to Dave Rivers for reporting that problem.
1995-01-02 10:04:02 +00:00
Jordan K. Hubbard
556751c1e8
Add David River's patch fix to use the passed in number of bits (-b <n>)
...
properly.
Submitted by: rivers
1994-12-31 04:40:52 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00