Re: [PATCH] efi_loader: Check for pointers before appending to the eventlog

2021-11-25 Thread Ilias Apalodimas
Hi Heinrich, On Tue, 23 Nov 2021 at 18:24, Ilias Apalodimas wrote: > > The TCG protocol returns EFI_SUCCESS even when it fails to install. > If the protocol is not installed there should be no calls to > tcg2_agile_log_append(). However there are calls to this function > occurring outside the TC

[PATCH] efi_loader: Check for pointers before appending to the eventlog

2021-11-23 Thread Ilias Apalodimas
The TCG protocol returns EFI_SUCCESS even when it fails to install. If the protocol is not installed there should be no calls to tcg2_agile_log_append(). However there are calls to this function occurring outside the TCG protocol invocation (e.g tcg2_measure_pe_image). Let's deal with this and sh