diff options
author | 2021-12-17 10:13:32 +0300 | |
---|---|---|
committer | 2021-12-24 14:18:27 +1100 | |
commit | 10371b6212bb682f13247733d6b76b91b2b80f9a (patch) | |
tree | 4418719c4f8c4c712c357519070c4a99e168d98f /lib/mpi/mpi-mod.c | |
parent | crypto: octeontx2 - out of bounds access in otx2_cpt_dl_custom_egrp_delete() (diff) | |
download | linux-dev-10371b6212bb682f13247733d6b76b91b2b80f9a.tar.xz linux-dev-10371b6212bb682f13247733d6b76b91b2b80f9a.zip |
crypto: octeontx2 - prevent underflow in get_cores_bmap()
If we're going to cap "eng_grp->g->engs_num" upper bounds then we should
cap the lower bounds as well.
Fixes: 43ac0b824f1c ("crypto: octeontx2 - load microcode and create engine groups")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions