mbedtls/programs
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
..
aes Correct comment and remove empty line 2017-07-28 21:43:19 +01:00
hash Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
pkey pk_encrypt: Uniformize debugging output 2018-08-23 15:56:55 +01:00
random Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
ssl Fix ordering of free()ing of internal structures in ssl_server2 2018-10-09 12:46:32 +01:00
test Fix hmac_drbg failure in benchmark, with threading 2018-07-30 11:01:37 +03:00
util Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
x509 Fix typos in programs/x509/cert_write.c 2018-08-23 15:26:55 +01:00
.gitignore Rm obsolete things (compat-1.2, openssl, etc) 2015-03-09 13:05:06 +00:00
CMakeLists.txt - Added missing subdirectory line for util 2012-09-25 08:19:18 +00:00
Makefile Make DLEXT var configurable in programs and tests makefiles 2018-03-27 20:08:03 +01:00
wince_main.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00