[openssl/openssl] a99b37: Fix memory leak in ossl_rsa_fromdata.

slontis noreply at reply.github.openssl.org
Tue Jun 28 15:08:54 UTC 2022


  Branch: refs/heads/openssl-3.0
  Home:   https://github.openssl.org/openssl/openssl
  Commit: a99b372157561560da526e212a5c6a74e1cd2d82
      https://github.openssl.org/openssl/openssl/commit/a99b372157561560da526e212a5c6a74e1cd2d82
  Author: slontis <shane.lontis at oracle.com>
  Date:   2022-06-28 (Tue, 28 Jun 2022)

  Changed paths:
    M crypto/rsa/rsa_backend.c

  Log Message:
  -----------
  Fix memory leak in ossl_rsa_fromdata.

Occurs if a malloc failure happens inside collect_numbers()

Reported via #18365

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Bernd Edlinger <bernd.edlinger at hotmail.de>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18646)

(cherry picked from commit 28adea95975c3ea53fc590efda35dee13efd4767)




More information about the openssl-commits mailing list