Merge branch 'development' into development-restricted
* development: Address PR review comments Fix crash when calling `mbedtls_ssl_cache_free` twice
This commit is contained in:
commit
4813f15ce5
@ -85,6 +85,8 @@ Bugfix
|
|||||||
* Fix incorrect unit in benchmark output. #850
|
* Fix incorrect unit in benchmark output. #850
|
||||||
* Add size-checks for record and handshake message content, securing
|
* Add size-checks for record and handshake message content, securing
|
||||||
fragile yet non-exploitable code-paths.
|
fragile yet non-exploitable code-paths.
|
||||||
|
* Fix crash when calling mbedtls_ssl_cache_free() twice. Found by
|
||||||
|
MilenkoMitrovic, #1104
|
||||||
|
|
||||||
Changes
|
Changes
|
||||||
* Extend cert_write example program by options to set the CRT version
|
* Extend cert_write example program by options to set the CRT version
|
||||||
|
@ -321,6 +321,7 @@ void mbedtls_ssl_cache_free( mbedtls_ssl_cache_context *cache )
|
|||||||
#if defined(MBEDTLS_THREADING_C)
|
#if defined(MBEDTLS_THREADING_C)
|
||||||
mbedtls_mutex_free( &cache->mutex );
|
mbedtls_mutex_free( &cache->mutex );
|
||||||
#endif
|
#endif
|
||||||
|
cache->chain = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* MBEDTLS_SSL_CACHE_C */
|
#endif /* MBEDTLS_SSL_CACHE_C */
|
||||||
|
Loading…
Reference in New Issue
Block a user