mbedtls/programs
Alfred Klomp 1d42b3ea7e pem2der.c: fix double-free bug
Found with Clang's `scan-build` tool.

load_file() allocates memory to a char** parameter. It then tries to fread() a
file, and if that fails, frees the memory and returns to caller. However, the
char** is not reset to NULL, which causes a double-free error when the caller
later passes it to free().
2014-08-14 11:34:34 +02:00
..
aes Adapt programs / test suites 2014-07-09 10:19:24 +02:00
hash Adapt programs / test suites 2014-07-09 10:19:24 +02:00
pkey gen_key should open file as binary for writing DER keys 2014-07-10 15:27:09 +02:00
random Adapt programs / test suites 2014-07-09 10:19:24 +02:00
ssl Don't print uninitialized buffer in ssl_mail_client 2014-08-14 11:34:34 +02:00
test Adapt programs / test suites 2014-07-09 10:19:24 +02:00
util pem2der.c: fix double-free bug 2014-08-14 11:34:34 +02:00
x509 Adapt programs / test suites 2014-07-09 10:19:24 +02:00
.gitignore Gitignore ssl_pthread_server 2014-01-22 12:56:06 +01:00
CMakeLists.txt - Added missing subdirectory line for util 2012-09-25 08:19:18 +00:00
Makefile Added version of the SSL pthread server example 2013-12-30 14:55:54 +01:00
wince_main.c - Lots of minimal changes to better support WINCE as a build target 2011-11-18 14:26:47 +00:00