• Trond Myklebust's avatar
    [PATCH] Improve READDIR/READDIRPLUS sanity checking.. · 29ceefc7
    Trond Myklebust authored
     - 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.
    29ceefc7
nfs2xdr.c 17.8 KB