freebsd-nq/sys/fs/nfsclient
Rick Macklem f86bce1770 Make sure the NFS readdir client fills in all "struct dirent" data.
The NFS client code (nfsrpc_readdir() and nfsrpc_readdirplus()) wasn't
filling in parts of the readdir reply, such as d_pad[01] and the bytes
at the end of d_name within d_reclen. As such, data left in a buffer cache
block could be leaked to userland in the readdir reply.
This patch makes sure all of the data is filled in.

Reported by:	Thomas Barabosch, Fraunhofer FKIE
Reviewed by:	kib, markj
MFC after:	2 weeks
2018-11-23 00:17:47 +00:00
..
nfs_clbio.c
nfs_clcomsubs.c
nfs_clkdtrace.c
nfs_clkrpc.c
nfs_clnfsiod.c
nfs_clnode.c
nfs_clport.c proc: convert pfind & friends to use pidhash locks and other cleanup 2018-11-21 20:15:56 +00:00
nfs_clrpcops.c Make sure the NFS readdir client fills in all "struct dirent" data. 2018-11-23 00:17:47 +00:00
nfs_clstate.c Silence newer gcc warnings. 2018-07-30 20:25:32 +00:00
nfs_clsubs.c
nfs_clvfsops.c Use declared types for caddr_t arguments. 2018-11-06 18:46:38 +00:00
nfs_clvnops.c Change nfs_advlock() so that the NFSVOPUNLOCK() is mostly done at the end. 2018-11-06 22:50:50 +00:00
nfs_kdtrace.h
nfs.h
nfsmount.h
nfsnode.h
nlminfo.h