summaryrefslogtreecommitdiffstats
path: root/sys/modules/svr4
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2010-08-23 05:33:31 +0000
committerbrian <brian@FreeBSD.org>2010-08-23 05:33:31 +0000
commit89b2d8bbb41d5ec5413bd240bfb6033899482af5 (patch)
treec84bd831835375bd740eb4a1f2a1b1f7cbe10543 /sys/modules/svr4
parent86c4c6b1df3ee3fb37a13959ff7ba362f3010f9f (diff)
downloadFreeBSD-src-89b2d8bbb41d5ec5413bd240bfb6033899482af5.zip
FreeBSD-src-89b2d8bbb41d5ec5413bd240bfb6033899482af5.tar.gz
uio_resid isn't updated by VOP_READDIR for nfs filesystems. Use
the uio_offset adjustment instead to calculate a correct *len. Without this change, we run off the end of the directory data we're reading and panic horribly for nfs filesystems. MFC after: 1 week
Diffstat (limited to 'sys/modules/svr4')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud