1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/sys/miscfs
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
..
deadfs Return ENOTTY instead of EBADF for ioctls on dead vnodes. This fixes 1998-11-22 09:19:07 +00:00
devfs Staticize. 1998-11-26 18:50:24 +00:00
fdesc Removed statically configured mount type numbers (MOUNT_*) and all 1998-09-07 13:17:06 +00:00
fifofs Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
kernfs Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
nullfs Removed statically configured mount type numbers (MOUNT_*) and all 1998-09-07 13:17:06 +00:00
portal Removed statically configured mount type numbers (MOUNT_*) and all 1998-09-07 13:17:06 +00:00
procfs Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
specfs Use TAILQ macros for clean/dirty block list processing. Set b_xflags 1998-10-31 15:31:29 +00:00
umapfs "fix" a warning that has been bugging me for ages. Eliminate a couple 1998-11-09 09:21:25 +00:00
union Finished updating module event handlers to be compatible with 1998-11-15 15:33:52 +00:00