[openssl/openssl] 4fffbb: Fix a possible memory leak in make_receipt_request

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


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 4fffbbcbb97cd627e72b90683ba1b87115940a7d
      https://github.com/openssl/openssl/commit/4fffbbcbb97cd627e72b90683ba1b87115940a7d
  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