[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.
Showing
Please register or sign in to comment