mbedtls/programs/ssl
Hanno Becker 7c2f2f3266 Fix ordering of free()ing of internal structures in ssl_server2
If `MBEDTLS_MEMORY_BUFFER_ALLOC_C` is configured and Mbed TLS'
custom buffer allocator is used for calloc() and free(), the
read buffer used by the server example application is allocated
from the buffer allocator, but freed after the buffer allocator
has been destroyed. If memory backtracing is enabled, this leaves
a memory leak in the backtracing structure allocated for the buffer,
as found by valgrind.

Fixes #2069.
2018-10-09 12:46:32 +01:00
..
CMakeLists.txt Fix whitespace in CMakeLists.txt 2015-06-25 10:59:57 +02:00
dtls_client.c Fix examples that failed to compile without PEM 2017-02-02 17:08:46 +00:00
dtls_server.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
mini_client.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
ssl_client1.c Fix default hostname for verification used in ssl_client1 2017-02-28 23:33:28 +00:00
ssl_client2.c Fix ssl_client2 to send 0-length app data 2018-07-16 20:22:20 +01:00
ssl_fork_server.c Improves and makes pretty the ssl_fork_server output 2016-04-28 23:57:42 +01:00
ssl_mail_client.c Fix Wformat-overflow warning in ssl_mail_client.c 2018-08-16 14:33:03 +01:00
ssl_pthread_server.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
ssl_server2.c Fix ordering of free()ing of internal structures in ssl_server2 2018-10-09 12:46:32 +01:00
ssl_server.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00