[openssl/openssl] b98fdb: Fix a possible memleak in rsa_pub_encode

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


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: b98fdb318b367d73cae7680eb264c4424098d537
      https://github.com/openssl/openssl/commit/b98fdb318b367d73cae7680eb264c4424098d537
  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)

(cherry picked from commit 285eb1688f05ad477fefc681bf05d0afedc46d40)




More information about the openssl-commits mailing list