freebsd-nq/sys/netatm
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
..
ipatm Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
sigpvc Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
spans Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
uni Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
atm_aal5.c Trivial stylish changes, mostly to silence gcc. 1998-10-31 20:07:01 +00:00
atm_cm.c Trivial stylish changes, mostly to silence gcc. 1998-10-31 20:07:01 +00:00
atm_cm.h Add new files for HARP3 1998-09-15 08:23:17 +00:00
atm_device.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
atm_if.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
atm_if.h Add new files for HARP3 1998-09-15 08:23:17 +00:00
atm_ioctl.h Add new files for HARP3 1998-09-15 08:23:17 +00:00
atm_pcb.h Add new files for HARP3 1998-09-15 08:23:17 +00:00
atm_proto.c Trivial stylish changes, mostly to silence gcc. 1998-10-31 20:07:01 +00:00
atm_sap.h Add new files for HARP3 1998-09-15 08:23:17 +00:00
atm_sigmgr.h Add new files for HARP3 1998-09-15 08:23:17 +00:00
atm_signal.c Trivial stylish changes, mostly to silence gcc. 1998-10-31 20:07:01 +00:00
atm_socket.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
atm_stack.h Add new files for HARP3 1998-09-15 08:23:17 +00:00
atm_subr.c Trivial stylish changes, mostly to silence gcc. 1998-10-31 20:07:01 +00:00
atm_sys.h Two patches from the HARP people: 1998-09-17 09:35:02 +00:00
atm_usrreq.c Trivial stylish changes, mostly to silence gcc. 1998-10-31 20:07:01 +00:00
atm_var.h Add new files for HARP3 1998-09-15 08:23:17 +00:00
atm_vc.h Add new files for HARP3 1998-09-15 08:23:17 +00:00
atm.h Add new files for HARP3 1998-09-15 08:23:17 +00:00
kern_include.h Add new files for HARP3 1998-09-15 08:23:17 +00:00
port.h Add new files for HARP3 1998-09-15 08:23:17 +00:00
queue.h Add new files for HARP3 1998-09-15 08:23:17 +00:00