From 3ce9480c38b7ce7482e0a3fd709027c6f8003eb5 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 30 Sep 2020 00:04:47 +0200 Subject: [PATCH] Add changelog entry for the memory management fixes Signed-off-by: Gilles Peskine --- ChangeLog.d/ecp-bignum-error-checks.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 ChangeLog.d/ecp-bignum-error-checks.txt diff --git a/ChangeLog.d/ecp-bignum-error-checks.txt b/ChangeLog.d/ecp-bignum-error-checks.txt new file mode 100644 index 000000000..8cad08e97 --- /dev/null +++ b/ChangeLog.d/ecp-bignum-error-checks.txt @@ -0,0 +1,5 @@ +Bugfix + * Fix a memory leak in mbedtls_mpi_sub_abs() when the result was negative + (an error condition) and the second operand was aliased to the result. + * Fix a case in elliptic curve arithmetic where an out-of-memory condition + could go undetected, resulting in an incorrect result.