]> Git Repo - linux.git/commit - fs/nfsd/nfsctl.c
NFSD: Stricter buffer size checking in write_recoverydir()
authorChuck Lever <[email protected]>
Thu, 23 Apr 2009 23:33:10 +0000 (19:33 -0400)
committerJ. Bruce Fields <[email protected]>
Tue, 28 Apr 2009 17:54:30 +0000 (13:54 -0400)
commit3d72ab8fdd44c872633b210dd1a4afd2910d0bbb
tree78b8ffba38d32d99b518c0efba19bffacc034b22
parent017cb47f46722f29d101a709a2094d151111ed6d
NFSD: Stricter buffer size checking in write_recoverydir()

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 <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
fs/nfsd/nfsctl.c
This page took 0.042725 seconds and 4 git commands to generate.