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

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


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




More information about the openssl-commits mailing list