freebsd-nq/usr.sbin/rpc.lockd
Xin LI d5c2c66dba Fix buffer lengths.
After r319369, the RPC code validates caller supplied buffer length in
taddr2uaddr.  When no -h is specified, the sizeof(ai_addr) is used,
which is always smaller than the required size and therefore uaddr
would be NULL, causing the kernel to copyin() from userland NULL
and fail with EFAULT.

Reviewed by:	kevlo (via Telegram)
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D11151
2017-06-12 09:11:31 +00:00
..
kern.c
lock_proc.c Actually use the loop interation limit so carefully computed on the 2016-05-16 23:00:48 +00:00
lockd_lock.c Add missing break in lock_partialfilelock(..) with NFS_RESERR 2016-06-13 11:19:06 +00:00
lockd_lock.h
lockd.c Fix buffer lengths. 2017-06-12 09:11:31 +00:00
lockd.h
Makefile Use .ALLSRC instead of RPCSRC 2017-03-01 04:12:24 +00:00
Makefile.depend DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
rpc.lockd.8
test.c