Changelog entry for RSA mutex usage fix

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2021-02-09 18:52:49 +01:00
parent 718972e94e
commit 3c30a7aeda

View File

@ -0,0 +1,8 @@
Bugfix
* Ensure that calling mbedtls_rsa_free() twice is safe. This happens
when some Mbed TLS library functions fail. Such a double-free was
not safe when MBEDTLS_THREADING_C was enabled on platforms where
freeing a mutex twice is not safe.
* Fix a resource leak in a bad-arguments case of mbedtls_rsa_gen_key()
when MBEDTLS_THREADING_C is enabled on platforms where initializing
a mutex allocates resources.