summaryrefslogtreecommitdiff
path: root/crypto/ecdsa.c
diff options
context:
space:
mode:
authorRoman Smirnov <r.smirnov@omp.ru>2024-04-01 15:22:58 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2024-04-12 15:07:51 +0800
commite7b9eeecb3663365cd06e787a1aee97b7f7bc257 (patch)
tree9c5c8782e2e1f67fb27d9fc84b54a76a88adfde3 /crypto/ecdsa.c
parent322035a7beec0f4e578e98c24d8925ac816f2b92 (diff)
downloadlinux-crypto-e7b9eeecb3663365cd06e787a1aee97b7f7bc257.tar.gz
linux-crypto-e7b9eeecb3663365cd06e787a1aee97b7f7bc257.zip
crypto: algboss - remove NULL check in cryptomgr_schedule_probe()
The for loop will be executed at least once, so i > 0. If the loop is interrupted before i is incremented (e.g., when checking len for NULL), i will not be checked. Found by Linux Verification Center (linuxtesting.org) with Svace. Signed-off-by: Roman Smirnov <r.smirnov@omp.ru> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ecdsa.c')
0 files changed, 0 insertions, 0 deletions