freebsd-dev/sys/i386/isa/bs
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
..
bs_isa.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
bs_pisa.c Synchronize with NetBSD/pc98 patch level 81. 1997-02-28 08:34:06 +00:00
bs.c Support compiling with `gcc -ansi'. 1998-04-18 05:01:24 +00:00
bsfunc.c Synchronize with NetBSD/pc98 based on NetBSD/i386 version 1.3G patch 1998-01-16 11:32:13 +00:00
bsfunc.h Synchronize with NetBSD/pc98 based on NetBSD/i386 version 1.3G patch 1998-01-16 11:32:13 +00:00
bshw_dma.c Synchronize with NetBSD/pc98 based on NetBSD/i386 version 1.3G patch 1998-01-16 11:32:13 +00:00
bshw_pdma.c Synchronize with NetBSD/pc98 based on NetBSD/i386 version 1.3G patch 1998-01-16 11:32:13 +00:00
bshw.c Make EPSON_BOUNCEDMA a new-style option. 1998-03-17 09:11:03 +00:00
bshw.h Synchronize with NetBSD/pc98 based on NetBSD/i386 version 1.3G patch 1998-01-16 11:32:13 +00:00
bshw.lst Synchronize with NetBSD/pc98 based on NetBSD/i386 version 1.3G patch 1998-01-16 11:32:13 +00:00
bsif.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
bsif.h Synchronize with NetBSD/pc98 based on NetBSD/i386 version 1.3G patch 1998-01-16 11:32:13 +00:00
bsvar.h Support compiling with `gcc -ansi'. 1998-04-18 05:01:24 +00:00