[PATCH] crypto/cnxk: prevent out of bound access in crypto_caps
Anoob Joseph
anoobj at marvell.com
Thu Apr 21 10:39:04 CEST 2022
>
> In a situation where crypto_caps elements are checked only for
> RTE_CRYPTO_OP_TYPE_UNDEFINED until valid op defined, there is possibility
> for an out of bound access. Add this array by one element for current
> capabilities.
>
> Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn at marvell.com>
> ---
> drivers/crypto/cnxk/cnxk_cryptodev.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Acked-by: Anoob Joseph <anoobj at marvell.com>
More information about the dev
mailing list