Commit 9d4f1743 authored by Chuck Lever's avatar Chuck Lever Committed by Greg Kroah-Hartman
Browse files

NFSD: Cap the number of bytes copied by nfs4_reset_recoverydir()



[ Upstream commit f64ea4af ]

It's only current caller already length-checks the string, but let's
be safe.

Fixes: 0964a3d3 ("[PATCH] knfsd: nfsd4 reboot dirname fix")
Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 752a7581
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment