diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-08-15 00:11:51 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-08-24 21:36:07 +0800 |
| commit | b63483b37e813299445d2719488acab2b3f20544 (patch) | |
| tree | 926b257815505b787eef3c4d608527ad60b136e2 /scripts/gdb/linux/utils.py | |
| parent | 142a794bcf007a22a5b14700e26d740b28d90754 (diff) | |
crypto: spacc - Fix bounds checking on spacc->job[]
This bounds checking is off by one. The > should be >=. The
spacc->job[] array is allocated in spacc_init() and it has
SPACC_MAX_JOBS elements.
Fixes: 8ebb14deef0f ("crypto: spacc - Enable SPAcc AUTODETECT")
Fixes: c8981d9230d8 ("crypto: spacc - Add SPAcc Skcipher support")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
