freebsd-nq/sys/i386
Archie Cobbs 2127f26023 Examine all occurrences of sprintf(), strcat(), and str[n]cpy()
for possible buffer overflow problems. Replaced most sprintf()'s
with snprintf(); for others cases, added terminating NUL bytes where
appropriate, replaced constants like "16" with sizeof(), etc.

These changes include several bug fixes, but most changes are for
maintainability's sake. Any instance where it wasn't "immediately
obvious" that a buffer overflow could not occur was made safer.

Reviewed by:	Bruce Evans <bde@zeta.org.au>
Reviewed by:	Matthew Dillon <dillon@apollo.backplane.com>
Reviewed by:	Mike Spengler <mks@networkcs.com>
1998-12-04 22:54:57 +00:00
..
apm Fix typo: "==" should have been "=" 1998-12-04 21:28:39 +00:00
bios Fix typo: "==" should have been "=" 1998-12-04 21:28:39 +00:00
boot Fix my breakage of `make installworld'. However, i don't think it's right to 1998-11-28 08:03:24 +00:00
conf An early Christmas present: add driver support for a whole bunch of 1998-12-04 18:01:24 +00:00
eisa Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
i386 An early Christmas present: add driver support for a whole bunch of 1998-12-04 18:01:24 +00:00
ibcs2 Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
include Attempt to handle interrupts delivered to all IO APICs by using the first 1998-11-26 23:14:23 +00:00
isa Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
linux Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
pci Make the class code checks in function pci_cfgcheck less strict. 1997-12-20 09:04:25 +00:00
Makefile Make this ${.OBJDIR} and ${.CURDIR} aware. 1998-05-31 22:40:49 +00:00