git: dfdb98e58af7 - releng/15.2 - nfsserver: initialize ni_rbeneath_dpp in nfsvno_namei()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Nov 2026 17:09:36 UTC
The branch releng/15.2 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=dfdb98e58af72244712862a4e99ac6e62d5ca0d4
commit dfdb98e58af72244712862a4e99ac6e62d5ca0d4
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-11-12 18:28:52 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-11-17 13:34:37 +0000
nfsserver: initialize ni_rbeneath_dpp in nfsvno_namei()
Approved by: re (cperciva)
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;