]> git.droids-corp.org - dpdk.git/commit
crypto/qat: fix missing copy guards in asym mod
authorArek Kusztal <arkadiuszx.kusztal@intel.com>
Fri, 17 Jun 2022 11:19:37 +0000 (12:19 +0100)
committerAkhil Goyal <gakhil@marvell.com>
Tue, 21 Jun 2022 18:04:50 +0000 (20:04 +0200)
commit5b4d317d839d855f6f51e76800c02d79b5355bf9
tree5dd3ca685f9659c970777969a3be461829c4f563
parentb302708673017b560644b954ed78ef6cdba1aa2d
crypto/qat: fix missing copy guards in asym mod

This commit fixes missing guards for size of memcpy,
it is needed to prevent faulty access when incorrect length
passed from the user.

Fixes: 3b78aa7b2317 ("crypto/qat: refactor asymmetric crypto functions")
Cc: stable@dpdk.org
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
drivers/crypto/qat/qat_asym.c