freebsd-dev/sys/dev/advansys
archie dcdc1187e3 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
..
adv_eisa.c EISA bus attachment for the AdvanSys driver. 1998-09-15 07:05:39 +00:00
adv_isa.c Fix probes when a port address is specified. 1998-11-10 06:44:54 +00:00
adv_pci.c Advance Systems SCSI Host Adapter driver for CAM. Currently only support 1998-09-15 07:03:43 +00:00
advansys.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
advansys.h Advance Systems SCSI Host Adapter driver for CAM. Currently only support 1998-09-15 07:03:43 +00:00
advlib.c Correct the reporting of the queue full condition so that the XPT layer 1998-10-29 17:41:34 +00:00
advlib.h Advance Systems SCSI Host Adapter driver for CAM. Currently only support 1998-09-15 07:03:43 +00:00
advmcode.c Correct compilation with option DIAGNOSTIC set. 1998-09-20 05:04:05 +00:00
advmcode.h Advance Systems SCSI Host Adapter driver for CAM. Currently only support 1998-09-15 07:03:43 +00:00
adw_pci.c Add support for the ASC3550 AdvanSys SCSI Host Controller (aka 940UW). 1998-10-07 03:20:52 +00:00
adwcam.c -Wunused cleanup. 1998-10-15 23:47:14 +00:00
adwlib.c Add support for the ASC3550 AdvanSys SCSI Host Controller (aka 940UW). 1998-10-07 03:20:52 +00:00
adwlib.h Add support for the ASC3550 AdvanSys SCSI Host Controller (aka 940UW). 1998-10-07 03:20:52 +00:00
adwmcode.c Add support for the ASC3550 AdvanSys SCSI Host Controller (aka 940UW). 1998-10-07 03:20:52 +00:00
adwmcode.h Add support for the ASC3550 AdvanSys SCSI Host Controller (aka 940UW). 1998-10-07 03:20:52 +00:00
adwvar.h Add support for the ASC3550 AdvanSys SCSI Host Controller (aka 940UW). 1998-10-07 03:20:52 +00:00