Commit b02de70
committed
libstub,tpm: do not ignore failure case when reading final event log
JIRA: https://issues.redhat.com/browse/RHEL-72764
Upstream Status: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
commit 63971b0
Author: Gregory Price <gourry@gourry.net>
Date: Fri Sep 13 19:19:54 2024 -0400
libstub,tpm: do not ignore failure case when reading final event log
Current code fails to check for an error case when reading events
from final event log to calculate offsets. Check the error case,
and break early because all subsequent calls will also fail.
Signed-off-by: Gregory Price <gourry@gourry.net>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Štěpán Horáček <shoracek@redhat.com>1 parent ea33466 commit b02de70
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
127 | 130 | | |
128 | 131 | | |
129 | 132 | | |
| |||
0 commit comments