NFSD: Stricter buffer size checking in write_recoverydir()
authorChuck Lever <chuck.lever@oracle.com>
Thu, 23 Apr 2009 23:33:10 +0000 (19:33 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 28 Apr 2009 17:54:30 +0000 (13:54 -0400)
While it's not likely a pathname will be longer than
SIMPLE_TRANSACTION_SIZE, we should be more careful about just
plopping it into the output buffer without bounds checking.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>

No differences found