Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-06-26 | document the new attribute __bounded__ | Anil Madhavapeddy | |
with mdoc help from jmc@, deraadt@ ok | |||
2003-06-26 | Introduce a simple static checker for making sure that the bounds | Anil Madhavapeddy | |
length passed to common functions such as strlcpy/strlcat match the real length of the buffer. It also checks to make sure that the bound length was not incorrectly derived from a sizeof(pointer) operation. Functions must be marked with the new attribute __bounded__, and warnings are turned on by -Wbounded. Specifying -Wformat also enables bounds checking for scanf(3) bounds to '%s' format variables. -Wall now turns on -Wbounded also. The checking is pretty limited right now to constant parameters, and the buffers must be statically declared, and not inside a record type. This simple checking still found hundreds of bugs around the ports tree though, and there have been no false positive warnings. 10x to niklas@, Richard Sharp and David Scott {rich,dave}@recoil.org for compiler advice. deraadt@ ok, miod@ tested on his collection of hardware You need to recompile gcc now if source upgrading in -current before doing a make world. | |||
2003-06-26 | Use libc getopt_long; missed when I changed diff's main Makefile | Todd C. Miller | |
a while ago. | |||
2003-06-24 | Pull in change 17805 by hv@hv-crypt.org on 2002/08/29 13:49:04 | Todd C. Miller | |
Fix based on: Subject: [perl #16799] Perl 5.8.0 breaks POSIX::isprint() (and other POSIX::xxx) From: "esm@pobox.com (via RT)" <perlbug@perl.org> Date: 27 Aug 2002 22:10:16 -0000 Message-Id: <rt-16799-35846.14.4842888832041@bugs6.perl.org> | |||
2003-06-23 | this zmore no longer used | Theo de Raadt | |
2003-06-22 | bye bye grep (gzip remains for a few scripts) | Theo de Raadt | |
2003-06-22 | use in-tree grep. it also does z*grep | Theo de Raadt | |
2003-06-22 | bye bye gnu gzip. The only parts we keep using are the scripts of | Theo de Raadt | |
questionable license. These will be rewritten soon I hope. Our compress, linked against libz, now does everything gzip does. | |||
2003-06-20 | To keep the frame pointer addressing for stack_protection, | Hiroaki Etoh | |
skip the canonicalization; (minus A (plus B C)) to (minus (minus A B) C) where B is frame pointer and C is frame offset. ok pvalchev@ | |||
2003-06-20 | To keep the frame pointer addressing for stack_protection, skip the ↵ | Hiroaki Etoh | |
following RTL conversion; (plus (plus fp offset) const) to (plus (plus fp const) offset). ok pvalchev@ | |||
2003-06-15 | fix last O_CREAT without mode; otto@drijf.net | Theo de Raadt | |
2003-06-14 | remove some trailing whitespace; | Jason McIntyre | |
2003-06-13 | add __LP64__ and _LP64 CPP predefines for systems using LP64. | Brad Smith | |
pvalchev@ fgsch@ millert@ ok | |||
2003-06-12 | final bits of obvious UCB term 3 removal | Theo de Raadt | |
2003-06-12 | remove cruft | Todd C. Miller | |
2003-06-11 | support to arm. ok deraadt@ | Kevin Lo | |
2003-06-10 | Install rcs2log, not a symlink to ../share/cvs/contrib/rcs2log | Todd C. Miller | |
Fix from SUZUKI Hitoshi; closes PR 3298 | |||
2003-06-04 | Clearer explanation of -fno-builtin-<function>; espie@ OK | Todd C. Miller | |
2003-06-04 | document -fno-builtin-<function>, ok miod@ | Marc Espie | |
2003-06-04 | Recgonize -fno-builtin-<function> | Marc Espie | |
okay tdeval, fries, tdeval, millert... | |||
2003-06-03 | 2 terms | Marc Espie | |
2003-06-03 | Use an ISC-tyle license for all my code; it is simpler and more permissive. | Todd C. Miller | |
2003-06-02 | somehow duplicate lines had gotten in there | Michael Shalayeff | |
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-06-02 | remove terms 3 and 4 of some of my licences | Theo de Raadt | |
2003-05-17 | no need for O0 on hppa anymore | Michael Shalayeff | |
2003-05-16 | sync | Hans Insulander | |
2003-05-16 | Don't link with -lkrb -lkafs. | Hans Insulander | |
ok jakob@ | |||
2003-05-14 | correct bound length and make sure string is always nul'd | Ted Unangst | |
fixes problem found by markus@ | |||
2003-05-13 | buffer size is strlen + 1. ok beck@ | Ted Unangst | |
2003-05-12 | Disable krb4 support in preparation for krb4 removal. | Magnus Holmberg | |
ok jakob@, hin@ | |||
2003-05-12 | strings in libreadline, again. this time with no abi change, | Bob Beck | |
static builds still seem to work with this. ok deraadt@ tedu@ | |||
2003-05-10 | Back out libreadline changes, this breaks static build (I.E. vax). | Bob Beck | |
changes are nontrivial to fix. Will return when static build works. | |||
2003-05-08 | multiple readlink() calls that forgot the -1... | Vincent Labrecque | |
ok millert | |||
2003-05-08 | Previously, ld.so would use a single page for mapping the hints file | Todd C. Miller | |
and then, if that was not big enough, map the rest of it contiguously. However, there is no guarantee that the address space after the first mmap has not already been used by something else. Instead, just fstat the file and map up to st_size. Also reorganized the code a tad and added some sanity checks for st_size. Problem tracked down by dhartmei@ and mickey@; drahn@ OK. | |||
2003-05-08 | Don't inline strcpy. since it's evil anyway. This makes it | Bob Beck | |
easier to find in object files without worrying about whether or not -fno-builtin was used in building. ok itojun@, tedu@, anil@, henning@, etc... | |||
2003-05-08 | strings | Bob Beck | |
ok tedu@, art@ | |||
2003-05-07 | fix a memleak | Vincent Labrecque | |
ok deraadt | |||
2003-05-07 | Re-include a patch missed in the recent upgrade: | Anil Madhavapeddy | |
When passive FTP fails, switch to active FTP and try again Submitted by Andrew Basterfield <bob@cemetery.homeunix.org> | |||
2003-05-06 | minor string cleanings; tdeval ok | Theo de Raadt | |
2003-05-05 | correct incorrect off-by-one sscanf bound | Anil Madhavapeddy | |
millert@ ok | |||
2003-05-05 | Move exec base to 0x1c000000, exe/data gap to 512MB. Allows better | Dale Rahn | |
interleave of exe/shared libs. Raise MAXDSIZ back to 1G. This change REQUIRES a binary update on i386. | |||
2003-05-01 | Update to lynx-2.8.4-rel1, patchset d, now with IPv6 as well | Anil Madhavapeddy | |
Local patches we maintain to the distribution are: - replace unbounded fscanf with fgets (avsm) - spelling fixes (deraadt) - hppa -O0 workaround (mickey) - default to ftp passive (deraadt) - work with non-exec scripts (deraadt,hin,maja) - be more careful with rlogin username (art) - default to our webpage (deraadt) - install helpfiles locally (maja) - mkdtemp temp space directory (art) - install more recent config.guess (avsm) Tested by beck,millert,grange,fries,miod and others, deraadt@ ok | |||
2003-04-28 | string cleaning | Theo de Raadt | |
2003-04-28 | work around XOPEN decl | Theo de Raadt | |
2003-04-28 | No need to install both the "readline guide" and the "readline user's guide" | Miod Vallat | |
since the former is a superset of the latter, and they used the same info node name, for further confusion. ok millert@ krw@ | |||
2003-04-28 | Proper @ignore usage, to prevent yet another gnu notice to pop up by mistake | Miod Vallat | |
in the middle of a page. ok millert@ krw@ | |||
2003-04-28 | pull in string.h | Theo de Raadt | |
2003-04-26 | string cleaning; ok tdeval | Theo de Raadt | |
2003-04-26 | string cleaning; ok tedu tdeval | Theo de Raadt | |