]> git.neil.brown.name Git - history.git/commit
[PATCH] Improve READDIR/READDIRPLUS sanity checking..
authorTrond Myklebust <trond.myklebust@fys.uio.no>
Tue, 20 Aug 2002 05:24:20 +0000 (22:24 -0700)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Tue, 20 Aug 2002 05:24:20 +0000 (22:24 -0700)
commit29ceefc7a304497d15d8d3ab71179046c7464557
treefc0eb332620db7abb290610644e80a651d3b5d01
parentd9a4ea27ed612fcf988e9c20fdf71310ce1bdea8
[PATCH] Improve READDIR/READDIRPLUS sanity checking..

 - Use req->rq_received to determine the message length instead of
   assuming that it goes to the end of the page.

 - If the server returned an illegal record so that we cannot make
   progress by retrying the request on a fresh page, truncate the
   entire listing and return a syslog error.
fs/nfs/nfs2xdr.c
fs/nfs/nfs3xdr.c