freebsd-nq/sys/compat/linux
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
..
linux_file.c Make async I/O on a socket work. 1998-10-05 16:37:36 +00:00
linux_ioctl.c MF22: Bring in some linux sound ioctl support which I committed to 2.2 1998-11-12 00:42:08 +00:00
linux_ipc.c ".. x11amp appears to be calling shmctl(id, IPC_RMID, 0) and the emulation 1998-06-02 12:38:31 +00:00
linux_misc.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
linux_signal.c Fix a couple of out-of-bounds array references in mapping between 1998-10-11 04:54:16 +00:00
linux_socket.c Moved some #includes from <sys/param.h> nearer to where they are actually 1998-03-28 10:33:27 +00:00
linux_stats.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
linux_util.c Removed unused #includes. 1997-07-20 16:06:08 +00:00
linux_util.h remove option LINUX as it did nothing, add DEBUG_LINUX to debug the 1998-06-30 08:40:33 +00:00