Skip to content
Commit d61a7b3d authored by Alexey Khoroshilov's avatar Alexey Khoroshilov Committed by Herbert Xu
Browse files

crypto: sun8i-ss - fix infinite loop in sun8i_ss_setup_ivs()



There is no i decrement in while (i >= 0) loop.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: default avatarAlexey Khoroshilov <khoroshilov@ispras.ru>
Fixes: 359e893e ("crypto: sun8i-ss - rework handling of IV")
Acked-by: default avatarCorentin Labbe <clabbe.montjoie@gmail.com>
Tested-by: default avatarCorentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent d64de977
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment