Date: Sun, 4 Apr 2010 23:19:11 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/nfsserver nfs_nfsdport.c Message-ID: <201004042319.o34NJLa6025383@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2010-04-04 23:19:11 UTC FreeBSD src repository Modified files: sys/fs/nfsserver nfs_nfsdport.c Log: SVN rev 206170 on 2010-04-04 23:19:11Z by 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 Revision Changes Path 1.22 +11 -12 src/sys/fs/nfsserver/nfs_nfsdport.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004042319.o34NJLa6025383>