]> git.dujemihanovic.xyz Git - u-boot.git/commit
mbedtls: fix defects in coverity scan
authorRaymond Mao <raymond.mao@linaro.org>
Wed, 16 Oct 2024 23:48:26 +0000 (16:48 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 18 Oct 2024 20:18:12 +0000 (14:18 -0600)
commit7f453771528160f0401a8cb7cd871c32e56f63f2
tree5fe3ed54d0b7b869b6ec4ec5c887f562053f093d
parentb92a18e2b61ac3de27c24a4c1ed8e01920d7ae4e
mbedtls: fix defects in coverity scan

Fixes of unreleased buffer, deadcode and wrong variable type detected
by coverity scan.

Addresses-Coverity-ID: 510809:  Resource leaks  (RESOURCE_LEAK)
Addresses-Coverity-ID: 510806:  Control flow issues  (DEADCODE)
Addresses-Coverity-ID: 510794 Control flow issues  (NO_EFFECT)

Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
lib/mbedtls/pkcs7_parser.c
lib/mbedtls/x509_cert_parser.c