Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NFSD: Cap the number of bytes copied by nfs4_reset_recoverydir()
[ Upstream commit f64ea4af43161bb86ffc77e6aeb5bcf5c3229df0 ] It's only current caller already length-checks the string, but let's be safe. Fixes: 0964a3d ("[PATCH] knfsd: nfsd4 reboot dirname fix") Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]> Signed-off-by: Sasha Levin <[email protected]> (cherry picked from commit 6dcb1b1322f3277dc213309d9f4bf6d6c265115a)
- Loading branch information