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:Ard Biesheuvel <ardb@kernel.org> Signed-off-by:
Kees Cook <keescook@chromium.org> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au> Change-Id: I269f944ceddf3b0439a6271f21584c030a207e2c Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/90412 Tested-by:
sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com> Reviewed-by:
Nithin Kumar Dabilpuram <ndabilpuram@marvell.com> Reviewed-by:
Sunil Kovvuri Goutham <sgoutham@marvell.com> Signed-off-by:
Beniamin Sandu <beniamin.sandu@windriver.com>
Loading
Please register or sign in to comment