git: b2affc4376c1 - main - nfsserver: initialize ni_rbeneath_dpp in nfsvno_namei()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Nov 2026 17:01:42 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=b2affc4376c1c3761cf972ca45f297c625a6e0c8
commit b2affc4376c1c3761cf972ca45f297c625a6e0c8
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-11-12 18:28:52 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-11-17 16:57:00 +0000
nfsserver: initialize ni_rbeneath_dpp in nfsvno_namei()
Approved by: so
Security: FreeBSD-SA-26:81.vfs
Reported by: markj
Sponsored by: The FreeBSD Foundation
---
sys/fs/nfsserver/nfs_nfsdport.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/fs/nfsserver/nfs_nfsdport.c b/sys/fs/nfsserver/nfs_nfsdport.c
index 6d7f93c123f0..fbbdef03f440 100644
--- a/sys/fs/nfsserver/nfs_nfsdport.c
+++ b/sys/fs/nfsserver/nfs_nfsdport.c
@@ -823,6 +823,7 @@ nfsvno_namei(struct nfsrv_descript *nd, struct nameidata *ndp,
ndp->ni_startdir = dp;
ndp->ni_rootdir = rootvnode;
ndp->ni_topdir = NULL;
+ ndp->ni_rbeneath_dpp = NULL;
if (!lockleaf)
cnp->cn_flags |= LOCKLEAF;