mbedtls/programs/ssl
Hanno Becker 095d9cf58e 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:44:42 +01:00
..
CMakeLists.txt Fix whitespace in CMakeLists.txt 2015-06-25 10:59:57 +02:00
dtls_client.c Correct the printf message of the DTLS handshake. 2017-10-06 11:58:50 +01:00
dtls_server.c Rename net.{c,h} to net_sockets.{c,h} 2016-09-26 23:23:52 +01:00
mini_client.c Rename net.{c,h} to net_sockets.{c,h} 2016-09-26 23:23:52 +01:00
ssl_client1.c Fix typo in platform macro defines for examples 2018-06-14 23:01:55 +01:00
ssl_client2.c Rename ssl_conf_datagram_packing() to ssl_set_datagram_packing() 2018-08-24 11:13:57 +01:00
ssl_fork_server.c Fix typo in platform macro defines for examples 2018-06-14 23:01:55 +01:00
ssl_mail_client.c Fix Wformat-overflow warning in ssl_mail_client.c 2018-08-14 11:02:23 +01:00
ssl_pthread_server.c Rename net.{c,h} to net_sockets.{c,h} 2016-09-26 23:23:52 +01:00
ssl_server2.c Fix ordering of free()ing of internal structures in ssl_server2 2018-10-09 12:44:42 +01:00
ssl_server.c Fix minor code style issues 2018-05-15 09:21:57 +01:00