commit | 12c15f5f0db8f80ab38580594ed8de786d01947b | [log] [tgz] |
---|---|---|
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | Tue Nov 07 13:31:34 2023 +0200 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Mon Nov 20 19:06:22 2023 +0100 |
tree | 28be018a24b2b8b2f19749d91a8196c63408a740 | |
parent | c1a8e6d1b38cf132750955fc9b506f92c4474c50 [diff] |
efi_loader: Correctly account the SCRTM event creation The result of efi_append_scrtm_version() is overwritten before anyone checks its result. Check it and exit the function on failures Addresses-Coverity-ID: 467399 Code maintainability issues (UNUSED_VALUE) Fixes: commit 97707f12fdab ("tpm: Support boot measurements") Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>