opnsense-src/sys/fs
Mark Johnston f9d3c6f4b5 nfsclient: Avoid copying uninitialized bytes into statfs
hst will be nul-terminated but the remaining space in the buffer is left
uninitialized.  Avoid copying the entire buffer to ensure that
uninitialized bytes are not leaked via statfs(2).

Reported by:	KMSAN
Reviewed by:	rmacklem
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 44de1834b5)
2021-07-29 08:11:16 -04:00
..
autofs Ensure that dirent's d_off field is initialized 2021-01-03 11:50:31 -05:00
cd9660 Move mnt_maxsymlinklen into appropriate fs mount data structures 2021-06-01 02:48:16 +03:00
cuse Fix for loading cuse.ko via rc.d . Make sure we declare the cuse(3) 2020-10-23 08:44:53 +00:00
deadfs vn_open(): If the vnode is reclaimed during open(2), do not return error. 2021-02-24 09:42:42 +02:00
devfs devfs: fix use count leak when using TIOCSCTTY 2021-04-10 05:57:55 +00:00
ext2fs ext2: add missing uio_td initialization to ext2_htree_append_block 2021-06-07 00:29:49 +00:00
fdescfs fdescfs: add an option to return underlying file vnode on lookup 2021-06-11 03:33:48 +03:00
fifofs fifo: Explicitly initialize generation numbers when opening 2021-07-26 21:46:45 -04:00
fuse fusefs: correctly set lock owner during FUSE_SETLK 2021-07-27 11:44:28 -06:00
mntfs Add a new "mntfs" pseudo file system which provides private device vnodes for 2020-03-06 18:41:37 +00:00
msdosfs msdosfs: fix vnode leak with msdosfs_rename() 2021-03-02 18:43:26 +00:00
nfs nfscl: Improve "Consider increasing kern.ipc.maxsockbuf" message 2021-07-14 13:45:41 -07:00
nfsclient nfsclient: Avoid copying uninitialized bytes into statfs 2021-07-29 08:11:16 -04:00
nfsserver krpc: Acquire ref count of CLIENT for backchannel use 2021-06-26 16:03:41 -07:00
nullfs nullfs: dirty v_object must imply the need for inactivation 2021-05-29 14:48:09 +03:00
procfs procfs_map: switch to use vm_object_kvme_type 2021-05-22 12:38:30 +03:00
pseudofs pseudofs: use vget_prep + vget_finish instead of vget + the interlock 2021-05-22 18:22:35 +00:00
smbfs Ensure that dirent's d_off field is initialized 2021-01-03 11:50:31 -05:00
tmpfs tmpfs: save on relocking the allnode lock in tmpfs_free_node_locked 2021-06-07 00:34:59 +00:00
udf Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
unionfs unionfs: do not use bare struct componentname 2021-07-07 13:23:30 +03:00