Searched hist:206170 (Results 1 - 1 of 1) sorted by relevance

/freebsd-9.3-release/sys/fs/nfsserver/
H A Dnfs_nfsdport.cdiff 206170 Sun Apr 04 21:19:53 MDT 2010 rmacklem Harden the experimental NFS server a little, by adding extra checks
in the readdir functions for non-positive byte count arguments.
For the negative case, set it to the maximum allowable, since it
was actually a large positive value (unsigned) on the wire.
Also, fix up the readdir function comment a bit.

Suggested by: dillon AT apollo.backplane.com
MFC after: 2 weeks

Completed in 59 milliseconds