[openssl/openssl] 151d15: Fix a possible memory leak in dane_tlsa_add
Bernd Edlinger
noreply at github.com
Wed Nov 22 08:24:06 UTC 2023
Branch: refs/heads/openssl-3.1
Home: https://github.com/openssl/openssl
Commit: 151d15e59a0383b3c5bfca580d4dce3bd8a7b5e8
https://github.com/openssl/openssl/commit/151d15e59a0383b3c5bfca580d4dce3bd8a7b5e8
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