freebsd-dev/sys/i386/ibcs2
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
..
coff.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ibcs2_dirent.h Remove old files no longer needed. 1995-10-10 07:59:30 +00:00
ibcs2_errno.c Added EIDRM & ENOMSG errno in translation table. 1998-04-13 17:52:41 +00:00
ibcs2_errno.h Import of original NetBSD's ibcs2 emulator sources by Scott Bartram, 1995-10-10 07:27:24 +00:00
ibcs2_fcntl.c Make SPX_HACK a new-style option. 1998-02-04 04:12:29 +00:00
ibcs2_fcntl.h Remove old files no longer needed. 1995-10-10 07:59:30 +00:00
ibcs2_ioctl.c This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
ibcs2_ioctl.h Remove old files no longer needed. 1995-10-10 07:59:30 +00:00
ibcs2_ipc.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
ibcs2_ipc.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ibcs2_isc_syscall.h Regenerate (removed unused #includes from ibcs2*_sysent.c). 1997-04-09 15:46:25 +00:00
ibcs2_isc_sysent.c Updated generated files. 1998-06-09 03:36:59 +00:00
ibcs2_isc.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
ibcs2_misc.c Silence a harmless warning. 1998-09-26 00:55:53 +00:00
ibcs2_mount.h Import of original NetBSD's ibcs2 emulator sources by Scott Bartram, 1995-10-10 07:27:24 +00:00
ibcs2_msg.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
ibcs2_other.c Make SPX_HACK a new-style option. 1998-02-04 04:12:29 +00:00
ibcs2_poll.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ibcs2_proto.h Updated generated files. 1998-06-08 11:08:35 +00:00
ibcs2_signal.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
ibcs2_signal.h Fixed parentheses in macros. 1995-11-13 08:58:06 +00:00
ibcs2_socksys.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
ibcs2_socksys.h Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
ibcs2_stat.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
ibcs2_stat.h Remove old files no longer needed. 1995-10-10 07:59:30 +00:00
ibcs2_statfs.h Import of original NetBSD's ibcs2 emulator sources by Scott Bartram, 1995-10-10 07:27:24 +00:00
ibcs2_stropts.h Import of original NetBSD's ibcs2 emulator sources by Scott Bartram, 1995-10-10 07:27:24 +00:00
ibcs2_syscall.h Regenerate (removed unused #includes from ibcs2*_sysent.c). 1997-04-09 15:46:25 +00:00
ibcs2_sysent.c Updated generated files. 1998-06-09 03:36:59 +00:00
ibcs2_sysi86.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
ibcs2_sysvec.c Finished updating module event handlers to be compatible with 1998-11-15 15:33:52 +00:00
ibcs2_termios.h Remove old files no longer needed. 1995-10-10 07:59:30 +00:00
ibcs2_time.h Remove old files no longer needed. 1995-10-10 07:59:30 +00:00
ibcs2_types.h Import of original NetBSD's ibcs2 emulator sources by Scott Bartram, 1995-10-10 07:27:24 +00:00
ibcs2_unistd.h Import of original NetBSD's ibcs2 emulator sources by Scott Bartram, 1995-10-10 07:27:24 +00:00
ibcs2_ustat.h Remove old files no longer needed. 1995-10-10 07:59:30 +00:00
ibcs2_util.c Removed unused #includes. 1997-07-20 09:39:51 +00:00
ibcs2_util.h Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
ibcs2_utime.h Remove old files no longer needed. 1995-10-10 07:59:30 +00:00
ibcs2_utsname.h Do a better fake for uname information returned in utssys() call. 1995-10-16 05:32:20 +00:00
ibcs2_xenix_syscall.h Regenerate (removed unused #includes from ibcs2*_sysent.c). 1997-04-09 15:46:25 +00:00
ibcs2_xenix_sysent.c Updated generated files. 1998-06-09 03:36:59 +00:00
ibcs2_xenix.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
ibcs2_xenix.h Updated generated files. 1998-06-08 11:08:35 +00:00
imgact_coff.c *gulp*. Jordan specifically OK'ed this.. 1998-10-16 03:55:01 +00:00
Makefile Add a Makefile to build all three syscall tables 1997-03-29 11:15:09 +00:00
syscalls.conf This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
syscalls.isc Removed unused #includes. 1997-04-09 15:44:47 +00:00
syscalls.isc.conf This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
syscalls.master Removed unused #includes. 1997-04-09 15:44:47 +00:00
syscalls.xenix Removed unused #includes. 1997-04-09 15:44:47 +00:00
syscalls.xenix.conf This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00