[openssl/openssl] 1b0089: Fix a possible memory leak in make_receipt_request

Bernd Edlinger noreply at github.com
Fri Dec 1 10:08:10 UTC 2023


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: 1b0089da4ae2424fab98e5978d5d08269d670140
      https://github.com/openssl/openssl/commit/1b0089da4ae2424fab98e5978d5d08269d670140
  Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
  Date:   2023-12-01 (Fri, 01 Dec 2023)

  Changed paths:
    M apps/cms.c

  Log Message:
  -----------
  Fix a possible memory leak in make_receipt_request

When the CMS_ReceiptRequest cannot be created,
the rct_to and rct_from may be leaked.

Reviewed-by: Neil Horman <nhorman at openssl.org>
Reviewed-by: Todd Short <todd.short at me.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22742)

(cherry picked from commit bed7a878107818c297301c6602013d364b266c67)




More information about the openssl-commits mailing list