aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorAndrey Ryabinin <[email protected]>2015-09-10 10:11:55 +0000
committerHerbert Xu <[email protected]>2015-09-11 14:09:43 +0000
commit84cba178a3b88efe2668a9039f70abda072faa21 (patch)
tree4ae19b43c59091f110a1094c7de60cd5d249f026 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parentcrypto: sunxi-ss - Fix a possible driver hang with ciphers (diff)
downloadkernel-84cba178a3b88efe2668a9039f70abda072faa21.tar.gz
kernel-84cba178a3b88efe2668a9039f70abda072faa21.zip
crypto: testmgr - don't copy from source IV too much
While the destination buffer 'iv' is MAX_IVLEN size, the source 'template[i].iv' could be smaller, thus memcpy may read read invalid memory. Use crypto_skcipher_ivsize() to get real ivsize and pass it to memcpy. Signed-off-by: Andrey Ryabinin <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions