[openssl/openssl] 28adea: Fix memory leak in ossl_rsa_fromdata.

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


  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 28adea95975c3ea53fc590efda35dee13efd4767
      https://github.openssl.org/openssl/openssl/commit/28adea95975c3ea53fc590efda35dee13efd4767
  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)




More information about the openssl-commits mailing list