[openssl/openssl] 285eb1: Fix a possible memleak in rsa_pub_encode

Bernd Edlinger noreply at github.com
Mon Sep 11 08:51:15 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 285eb1688f05ad477fefc681bf05d0afedc46d40
      https://github.com/openssl/openssl/commit/285eb1688f05ad477fefc681bf05d0afedc46d40
  Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
  Date:   2023-09-11 (Mon, 11 Sep 2023)

  Changed paths:
    M crypto/rsa/rsa_ameth.c
    M test/recipes/15-test_rsapss.t

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

That seems to be only an issue for RSA-PSS with parameters.
Spotted by code review, so it looks like there is no test coverage for this.

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22032)




More information about the openssl-commits mailing list