-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AdvLoggerPkg: Fix message handling and LineParserTestApp (#634)
## Description Fixes #629 A case existed where the target buffer was not correct whenever the same line buffer was extended (previous message overwritten). Debug level strings could overwrite characters if a new debug level was changed when residual characters were added to the same line buffer. To simplify handling of strings, this change makes the phases and debug message levels a fixed size. This is a breaking change but less error prone. The LineParserTestApp needed to be updated for debug level strings, so that is done. - [x] Impacts functionality? - [ ] Impacts security? - [x] Breaking change? - [x] Includes tests? - [ ] Includes documentation? - [x] Backport to release branch? ## How This Was Tested - LineParserTestApp - Step through parsing with debugger and check variable values - Log output ## Integration Instructions - If any tools or code depend on exact string matches, note the change in the debug message level and phase strings. Signed-off-by: Michael Kubacki <[email protected]>
- Loading branch information
1 parent
117c54b
commit da8da86
Showing
3 changed files
with
83 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,7 +91,11 @@ | |
MMARM, | ||
BLKIO, | ||
dlink, | ||
uintn | ||
uintn, | ||
mcore, | ||
rtdxe, | ||
smmcr, | ||
unspd, | ||
] | ||
}, | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters