Skip to content
Commit 155bac64 authored by Kees Cook's avatar Kees Cook Committed by Wenlin Kang
Browse files

crypto: octeontx2 - Avoid stack variable overflow



commit 7156c647f1551e149f126b73d608b0baf55d8e0e from
git@git.assembla.com:cavium/WindRiver.linux.git

Building with -Warray-bounds showed a stack variable array index
overflow. Increase the expected size of the array to avoid
the warning.

Fixes: d9d77497 ("crypto: octeontx2 - add apis for custom engine groups")
Acked-by: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Change-Id: I269f944ceddf3b0439a6271f21584c030a207e2c
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/90412


Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: default avatarNithin Kumar Dabilpuram <ndabilpuram@marvell.com>
Reviewed-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarWenlin Kang <wenlin.kang@windriver.com>
parent d973f439
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment