mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 03:54:16 +01:00
1d42b3ea7e
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(). |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
pem2der.c | ||
strerror.c |