freebsd-nq/sys/nfsclient
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
..
bootp_subr.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
krpc_subr.c Yow! Completely change the way socket options are handled, eliminating 1998-08-23 03:07:17 +00:00
krpc.h Forward declare more structs that are used in prototypes here - don't 1998-02-01 20:34:07 +00:00
nfs_bio.c Remove [apparently] bogus casts to u_long for the vnode_pager_setsize() 1998-11-09 07:00:14 +00:00
nfs_nfsiod.c Check for NULL pointer before freeing a struct sockaddr. m_freem() can handle 1998-09-01 02:31:52 +00:00
nfs_node.c Do not need (or want) to take a reference on an NFS file that 1998-09-29 23:15:25 +00:00
nfs_socket.c Fix a panic in nfsrv_dorec() where a NULL pointer could be passed to 1998-11-13 09:44:12 +00:00
nfs_subs.c Remove [apparently] bogus casts to u_long for the vnode_pager_setsize() 1998-11-09 07:00:14 +00:00
nfs_vfsops.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
nfs_vnops.c Reimplement the NFS ACCESS RPC cache as an "accelerator" rather than a true 1998-11-15 20:36:18 +00:00
nfs.h Made unloading of the nfs LKM sort of work. This is mainly to test 1998-09-07 05:42:15 +00:00
nfsargs.h Made unloading of the nfs LKM sort of work. This is mainly to test 1998-09-07 05:42:15 +00:00
nfsdiskless.h Removed more vestiges of config-time swap configuration. 1997-09-07 12:56:46 +00:00
nfsm_subs.h For the on-the-wire protocol, u_long -> u_int32_t; long -> int32_t; 1998-05-31 20:09:01 +00:00
nfsmount.h When using NFSv3, use the remote server's idea of the maximum file size 1998-05-30 16:33:58 +00:00
nfsnode.h Reimplement the NFS ACCESS RPC cache as an "accelerator" rather than a true 1998-11-15 20:36:18 +00:00
nfsstats.h Made unloading of the nfs LKM sort of work. This is mainly to test 1998-09-07 05:42:15 +00:00