freebsd-dev/sys/dev/hfa
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
..
fore_aali.h Add new files for HARP3 1998-09-15 08:23:17 +00:00
fore_buffer.c Trivial stylish changes, mostly to silence gcc. 1998-10-31 20:07:01 +00:00
fore_command.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
fore_globals.c Trivial stylish changes, mostly to silence gcc. 1998-10-31 20:07:01 +00:00
fore_if.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
fore_include.h Add new files for HARP3 1998-09-15 08:23:17 +00:00
fore_init.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
fore_intr.c Trivial stylish changes, mostly to silence gcc. 1998-10-31 20:07:01 +00:00
fore_load.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
fore_output.c Trivial stylish changes, mostly to silence gcc. 1998-10-31 20:07:01 +00:00
fore_receive.c Trivial stylish changes, mostly to silence gcc. 1998-10-31 20:07:01 +00:00
fore_slave.h Add new files for HARP3 1998-09-15 08:23:17 +00:00
fore_stats.c Trivial stylish changes, mostly to silence gcc. 1998-10-31 20:07:01 +00:00
fore_stats.h Add new files for HARP3 1998-09-15 08:23:17 +00:00
fore_timer.c Trivial stylish changes, mostly to silence gcc. 1998-10-31 20:07:01 +00:00
fore_transmit.c Trivial stylish changes, mostly to silence gcc. 1998-10-31 20:07:01 +00:00
fore_var.h Add new files for HARP3 1998-09-15 08:23:17 +00:00
fore_vcm.c Trivial stylish changes, mostly to silence gcc. 1998-10-31 20:07:01 +00:00
fore.h Add new files for HARP3 1998-09-15 08:23:17 +00:00