[openssl/openssl] d6688e: Fix a possible memleak in opt_verify

Bernd Edlinger noreply at github.com
Tue Dec 12 18:51:18 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: d6688e45fa2f987f3ffd324e19922468beee5ddc
      https://github.com/openssl/openssl/commit/d6688e45fa2f987f3ffd324e19922468beee5ddc
  Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

  Changed paths:
    M apps/lib/opt.c

  Log Message:
  -----------
  Fix a possible memleak in opt_verify

The ASN1_OBJECT otmp was leaked if X509_VERIFY_PARAM_add0_policy fails.

Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22922)




More information about the openssl-commits mailing list