mbedtls/ChangeLog.d/fix_psa_crypto_leak.txt
Paul Elliott da3e7db495 Fix memory leak in error case in psa_crypto
In psa_generate_derived_key_internal() an error case was returning
directly rather than jumping to the exit label, which meant that an
allocated buffer would not be free'd.

Found via coverity.

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2021-02-09 19:03:47 +00:00

3 lines
94 B
Plaintext

Bugfix
* Fix memory leak that occured in error case in psa_generate_derived_key_internal()