The branch OpenSSL_1_1_1-stable has been updated via c38761171f428d80cd7906b12a0cdac6d1285a7d (commit) from 689c07b8d502301d82e09c1db04daf3c13b1d35d (commit)
- Log ----------------------------------------------------------------- commit c38761171f428d80cd7906b12a0cdac6d1285a7d Author: Scott Wilson <sc...@sawilson.xyz> Date: Thu Oct 31 22:37:51 2019 +1100 Fix potential memory leak in dh_ameth.c Free dukm in error handling of dh_cms_encrypt() Fixes #10294 Reviewed-by: Matt Caswell <m...@openssl.org> Reviewed-by: Patrick Steuer <patrick.ste...@de.ibm.com> (Merged from https://github.com/openssl/openssl/pull/10310) (cherry picked from commit 6624e1f7b6a397948561e9cc2774f0c8af1d2c79) ----------------------------------------------------------------------- Summary of changes: crypto/dh/dh_ameth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/dh/dh_ameth.c b/crypto/dh/dh_ameth.c index 60af9e2159..d53004080d 100644 --- a/crypto/dh/dh_ameth.c +++ b/crypto/dh/dh_ameth.c @@ -901,6 +901,7 @@ static int dh_cms_encrypt(CMS_RecipientInfo *ri) err: OPENSSL_free(penc); X509_ALGOR_free(wrap_alg); + OPENSSL_free(dukm); return rv; }