diff options
author | Mark Johnston <markj@FreeBSD.org> | 2022-03-17 22:11:26 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2022-03-17 22:30:21 +0000 |
commit | c0b98fe16f253d6b5693adeb38cdb78cadb5f58d (patch) | |
tree | 43831dfeacfeaa56651bc410b669710a1cbbb638 | |
parent | 3c3a19d1f42af049e798b193d4fd2a872c7c8fec (diff) | |
download | src-c0b98fe16f253d6b5693adeb38cdb78cadb5f58d.tar.gz src-c0b98fe16f253d6b5693adeb38cdb78cadb5f58d.zip |
fusefs: Initialize a pad word in the mknod message
Reported by: Jenkins (KMSAN job)
Reviewed by: asomers
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34593
-rw-r--r-- | sys/fs/fuse/fuse_internal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/fuse/fuse_internal.c b/sys/fs/fuse/fuse_internal.c index 8f5cbb2d86ae..503c1c3c0b66 100644 --- a/sys/fs/fuse/fuse_internal.c +++ b/sys/fs/fuse/fuse_internal.c @@ -541,6 +541,7 @@ fuse_internal_mknod(struct vnode *dvp, struct vnode **vpp, if (fuse_libabi_geq(data, 7, 12)) { insize = sizeof(fmni); fmni.umask = curthread->td_proc->p_pd->pd_cmask; + fmni.padding = 0; } else { insize = FUSE_COMPAT_MKNOD_IN_SIZE; } |