summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2010-04-04 23:19:11 +0000
committerrmacklem <rmacklem@FreeBSD.org>2010-04-04 23:19:11 +0000
commit71f4a9b7efa07b37f3300fd48a4c8343ce712d87 (patch)
tree5cf21e6a590277679edac1e6664a01a44d39ff15 /lib/libc
parentca9540f0dcc7ca3a4a9fe641bdbc0e69de32c895 (diff)
downloadFreeBSD-src-71f4a9b7efa07b37f3300fd48a4c8343ce712d87.zip
FreeBSD-src-71f4a9b7efa07b37f3300fd48a4c8343ce712d87.tar.gz
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
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud