Don't just assume that the directory offset supplied by the user is
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 24 Mar 2006 19:08:52 +0000 (19:08 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 24 Mar 2006 19:08:52 +0000 (19:08 +0000)
commitb66959e26449dce1566de88d45e3242be32c2d97
tree3f7bb054f471e350da62a5ed3e12ef10356af38d
parent5407829287da00b22376a2e7eecfcc23926c32e5
Don't just assume that the directory offset supplied by the user is
correct.  Validate the NFS directory entry for the offset supplied
before using its fields.

Reported-by: David Rhodus <drhodus@leaf.dragonflybsd.org>
sys/vfs/nfs/nfs_bio.c