cvs commit: src/sys/nfsserver nfs_srvsock.c
Simon L. Nielsen
simon at FreeBSD.org
Wed Mar 8 12:21:16 PST 2006
simon 2006-03-08 20:21:15 UTC
FreeBSD src repository
Modified files:
sys/nfsserver nfs_srvsock.c
Log:
When parsing an RPC request in nfsrv_dorec(), KASSERT that there
actually is an mbuf to process. This catches the missing mbuf before it
would otherwise causes a NULL pointer dereference, which could be
triggered by a 0 length RPC record before the check for such records was
added in rev 1.97.
Approved by: cperciva (mentor)
Revision Changes Path
1.98 +1 -0 src/sys/nfsserver/nfs_srvsock.c
More information about the cvs-src
mailing list