[openssl/openssl] 7f943d: Fix a possible memory leak in dane_tlsa_add
Bernd Edlinger
noreply at github.com
Wed Nov 22 08:23:06 UTC 2023
Branch: refs/heads/openssl-3.2
Home: https://github.com/openssl/openssl
Commit: 7f943d40bda4539d63da34ecfbbc8556f2603fb3
https://github.com/openssl/openssl/commit/7f943d40bda4539d63da34ecfbbc8556f2603fb3
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date: 2023-11-22 (Wed, 22 Nov 2023)
Changed paths:
M ssl/ssl_lib.c
Log Message:
-----------
Fix a possible memory leak in dane_tlsa_add
Several error cases leak either the X509 object
or the pkey or the danetls_record object.
Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
Reviewed-by: Richard Levitte <levitte at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22743)
(cherry picked from commit e4a94bcc77f3fda0f185e62a73a66d9b9b9388f5)
More information about the openssl-commits
mailing list