1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/sys/i386/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
..
imgact_linux.c *gulp*. Jordan specifically OK'ed this.. 1998-10-16 03:55:01 +00:00
linux_dummy.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
linux_file.c Make async I/O on a socket work. 1998-10-05 16:37:36 +00:00
linux_genassym.c Fixed printf format errors. 1998-07-29 15:50:41 +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_locore.s Mega-commit for Linux emulator update.. This has been stress tested under 1996-03-02 19:38:20 +00:00
linux_misc.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
linux_proto.h Quick and dirty support for Linux's mremap. Not used by anything 1998-07-10 22:30:08 +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_syscall.h Quick and dirty support for Linux's mremap. Not used by anything 1998-07-10 22:30:08 +00:00
linux_sysent.c Quick and dirty support for Linux's mremap. Not used by anything 1998-07-10 22:30:08 +00:00
linux_sysvec.c Finished updating module event handlers to be compatible with 1998-11-15 15:33:52 +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
linux.h MF22: Bring in some linux sound ioctl support which I committed to 2.2 1998-11-12 00:42:08 +00:00
Makefile Be consistant with the other syscall makefile's handling of the default 1997-03-29 11:17:26 +00:00
syscalls.conf Added a null entry for sysmk that is generated by makesyscalls.sh. 1998-03-13 19:13:54 +00:00
syscalls.master Quick and dirty support for Linux's mremap. Not used by anything 1998-07-10 22:30:08 +00:00