]> git.ipfire.org Git - thirdparty/openssl.git/commit
X509 build_chain(): Fix two potential memory leaks on issuer variable
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Thu, 4 Mar 2021 20:17:31 +0000 (21:17 +0100)
committerDr. David von Oheimb <dev@ddvo.net>
Wed, 19 May 2021 18:15:26 +0000 (20:15 +0200)
commit558f2a014646bb057f3876b28e32b13d8178400e
tree7614a79f8fdb753ab4660b9e77b140304662b98f
parentfc48b5c825352f519538ed26f2caa8aeca8b9ba0
X509 build_chain(): Fix two potential memory leaks on issuer variable

This also removes an inadequate guard: if (num == ctx->num_untrusted)

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14422)
crypto/x509/x509_vfy.c