Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2022 14:42:50 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 476b3bb0916d - stable/13 - fusefs: Initialize a pad word in the mknod message
Message-ID:  <202203211442.22LEgopG023582@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=476b3bb0916d7ada163040b3b3f523e92d608733

commit 476b3bb0916d7ada163040b3b3f523e92d608733
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-03-17 22:11:26 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-03-21 14:42:39 +0000

    fusefs: Initialize a pad word in the mknod message
    
    Reported by:    Jenkins (KMSAN job)
    Reviewed by:    asomers
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit c0b98fe16f253d6b5693adeb38cdb78cadb5f58d)
---
 sys/fs/fuse/fuse_internal.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/fs/fuse/fuse_internal.c b/sys/fs/fuse/fuse_internal.c
index 8862a09d2e6c..3fac41bfaef7 100644
--- a/sys/fs/fuse/fuse_internal.c
+++ b/sys/fs/fuse/fuse_internal.c
@@ -542,6 +542,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;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203211442.22LEgopG023582>