Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

NFS server: Zero not-fully-initialized UIO structure.

From: OpenBSD nfs_serv.c 1.90
  • Loading branch information...
commit e020caea57ae4096e35c573c1380ceab9d94ac8a 1 parent a084b5c
Venkatesh Srinivas vsrinivas authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  sys/vfs/nfs/nfs_serv.c
2  sys/vfs/nfs/nfs_serv.c
@@ -700,6 +700,8 @@ nfsrv_readlink(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
info.dpos = nfsd->nd_dpos;
info.v3 = (nfsd->nd_flag & ND_NFSV3);
+ bzero(&io, sizeof(struct uio));
nfsdbprintf(("%s %d\n", __FILE__, __LINE__));
#ifndef nolint
mp2 = NULL;
Please sign in to comment.
Something went wrong with that request. Please try again.