1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Merge pull request #865 from davidhorstmann-arm/3.0-fix-session-copy-bug-chglog

Add changelog entry for session copy bugfix
This commit is contained in:
Manuel Pégourié-Gonnard
2021-12-09 09:21:28 +01:00
committed by GitHub

View File

@@ -0,0 +1,6 @@
Bugfix
* Fix a double-free that happened after mbedtls_ssl_set_session() or
mbedtls_ssl_get_session() failed with MBEDTLS_ERR_SSL_ALLOC_FAILED
(out of memory). After that, calling mbedtls_ssl_session_free()
and mbedtls_ssl_free() would cause an internal session buffer to
be free()'d twice.