> Acked-by: Kai Ji
Applied to dpdk-next-crypto
Thanks.
Hi Ciara,
> -Original Message-
> From: Ciara Power
> Sent: Friday 14 April 2023 13:32
> To: Ji, Kai
> Cc: dev@dpdk.org; Power, Ciara ; sta...@dpdk.org
> Subject: [PATCH] crypto/qat: fix stack buffer overflow in SGL loop
>
> The cvec pointer was incremented incor
Acked-by: Kai Ji
> -Original Message-
> From: Power, Ciara
> Sent: Friday, April 14, 2023 1:32 PM
> To: Ji, Kai
> Cc: dev@dpdk.org; Power, Ciara ; sta...@dpdk.org
> Subject: [PATCH] crypto/qat: fix stack buffer overflow in SGL loop
>
> The cvec pointer was in
The cvec pointer was incremented incorrectly in the case where the
length of remaining_off equals cvec len, and there is no next cvec.
This led to cvec->iova being invalid memory to access.
Instead, only increment the cvec pointer when we know there is a next
cvec to point to, by checking the i va
4 matches
Mail list logo