From 05bb2c5d0e61b2804edfafc080e584c3be6ab5e4 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Wed, 5 Oct 2022 12:06:23 +0100 Subject: [PATCH] Add ChangeLog entry for memory leak fix Signed-off-by: David Horstmann --- ChangeLog.d/fix_x509_get_name_mem_leak.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 ChangeLog.d/fix_x509_get_name_mem_leak.txt diff --git a/ChangeLog.d/fix_x509_get_name_mem_leak.txt b/ChangeLog.d/fix_x509_get_name_mem_leak.txt new file mode 100644 index 000000000..358d1afa7 --- /dev/null +++ b/ChangeLog.d/fix_x509_get_name_mem_leak.txt @@ -0,0 +1,4 @@ +Bugfix + * Fix memory leak in ssl_parse_certificate_request() caused by + mbedtls_x509_get_name() not freeing allocated objects in case of error. + Change mbedtls_x509_get_name() to clean up allocated objects on error.