mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
NFSD: Cap the number of bytes copied by nfs4_reset_recoverydir()
[ Upstream commitf64ea4af43] It's only current caller already length-checks the string, but let's be safe. Fixes:0964a3d3f1("[PATCH] knfsd: nfsd4 reboot dirname fix") Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
c5d90f9302
commit
d7892d68ee
1 changed files with 2 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue