git: c0b98fe16f25 - main - fusefs: Initialize a pad word in the mknod message

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Thu, 17 Mar 2022 22:31:19 UTC
The branch main has been updated by markj:

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

commit c0b98fe16f253d6b5693adeb38cdb78cadb5f58d
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-03-17 22:11:26 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-03-17 22:30:21 +0000

    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
---
 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 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;
 	}