All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Berger <stefanb@linux.ibm.com>
To: linux-integrity@vger.kernel.org
Cc: zohar@linux.ibm.com, Stefan Berger <stefanb@linux.ibm.com>
Subject: [PATCH ima-evm-utils v1 0/4] Fix some issues in evmctl
Date: Wed,  2 Nov 2022 14:45:30 -0400	[thread overview]
Message-ID: <20221102184534.1075049-1-stefanb@linux.ibm.com> (raw)

This series of patches fixes memory leaks related to tpm_bank_info
allocations and entry.template as well as gcc compiler warnings
when building with -fanalyzer (gcc 12.2.1).

This series is intended to be applied on top of Mimi's current series
at https://github.com/mimizohar/ima-evm-utils/tree/next-testing .

   Stefan

Stefan Berger (4):
  Fix memory leaks of tpm_bank_info allocations
  Fix memory leak related to entry.template
  Add assert to ensure that algo_name in bank is set
  Change condition to free(pub)

 src/evmctl.c | 47 ++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 40 insertions(+), 7 deletions(-)


base-commit: f6abaed5d0d0a4478cf25a8096a4ff44be4a234e
-- 
2.38.1


             reply	other threads:[~2022-11-02 18:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-02 18:45 Stefan Berger [this message]
2022-11-02 18:45 ` [PATCH ima-evm-utils v1 1/4] Fix memory leaks of tpm_bank_info allocations Stefan Berger
2022-11-02 18:45 ` [PATCH ima-evm-utils v1 2/4] Fix memory leak related to entry.template Stefan Berger
2022-11-02 18:45 ` [PATCH ima-evm-utils v1 3/4] Add assert to ensure that algo_name in bank is set Stefan Berger
2022-11-02 18:45 ` [PATCH ima-evm-utils v1 4/4] Change condition to free(pub) Stefan Berger
2022-11-03 21:50 ` [PATCH ima-evm-utils v1 0/4] Fix some issues in evmctl Mimi Zohar
2022-11-16  2:04 ` Mimi Zohar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221102184534.1075049-1-stefanb@linux.ibm.com \
    --to=stefanb@linux.ibm.com \
    --cc=linux-integrity@vger.kernel.org \
    --cc=zohar@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.