git: 63158cfbf67a - stable/15 - nfsserver: initialize ni_rbeneath_dpp in nfsvno_namei()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Nov 2026 17:05:55 UTC
The branch stable/15 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=63158cfbf67ad01fe2950b71a88d5c94d9c4ac00
commit 63158cfbf67ad01fe2950b71a88d5c94d9c4ac00
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:22 +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 21607337559a..443acac5edf3 100644
--- a/sys/fs/nfsserver/nfs_nfsdport.c
+++ b/sys/fs/nfsserver/nfs_nfsdport.c
@@ -718,6 +718,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;