diff options
author | Olga Kornievskaia <kolga@netapp.com> | 2021-03-30 15:03:59 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-14 09:50:13 +0200 |
commit | 821ff1d44fe3c10db27834a97c1f93667a037a21 (patch) | |
tree | c3e9326a50bbc6702fd84f15560193e3625cd9f6 /lib/crypto/poly1305.c | |
parent | 74bcea1a608ec3818aafbcfcb9f18cba24474134 (diff) | |
download | kernel_replicant_linux-821ff1d44fe3c10db27834a97c1f93667a037a21.tar.gz kernel_replicant_linux-821ff1d44fe3c10db27834a97c1f93667a037a21.tar.bz2 kernel_replicant_linux-821ff1d44fe3c10db27834a97c1f93667a037a21.zip |
NFSv4.2: fix copy stateid copying for the async copy
[ Upstream commit e739b12042b6b079a397a3c234f96c09d1de0b40 ]
This patch fixes Dan Carpenter's report that the static checker
found a problem where memcpy() was copying into too small of a buffer.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: e0639dc5805a ("NFSD introduce async copy feature")
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/crypto/poly1305.c')
0 files changed, 0 insertions, 0 deletions