Commit 519bda8
committed
AdvLoggerPkg: Minor fix in DecodeUefiLog.py _GetNextMessageBlock()
The function calls `self._ReadMessageEntry()` to read
the next message entry from the log file. That function can return
`None` for the `MessageEntry` if it encounters an invalid signature.
This function needs to handle that case properly to avoid trying to
access fields of a `None` object, which would lead to an
`AttributeError`.
Signed-off-by: Michael Kubacki <[email protected]>1 parent fc05e0b commit 519bda8
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
591 | 595 | | |
592 | 596 | | |
593 | 597 | | |
| |||
0 commit comments