[Bug]: Advanced Logger libraries rely on ASSERTs #567
Labels
state:needs-triage
Needs to triaged to determine next steps
state:stale
Has not been updated in a long time
type:bug
Something isn't working
urgency:low
Little to no impact
Is there an existing issue for this?
Current Behavior
Discovered while unit testing.
Advanced Logger Libraries rely on ASSERTs to handle errors.
DXE library was fixed to not rely on asserts, and its unit test took this into account.
There is a PR up to fix this in the PeiLib (#565)
Creating a bug to check/fix remaining AdvancedLogger libraries relying on ASSERTs for code flow.
Expected Behavior
In RELEASE builds, ASSERTs are not triggered, and the code should handle any ASSERT-ed conditions gracefully. In the case of Advanced Logger, if there is a signature mismatch for example, we should return from the function and not continue trying to write.
Steps To Reproduce
Build Environment
Version Information
Urgency
Low
Are you going to fix this?
I will fix it
Do you need maintainer feedback?
No maintainer feedback needed
Anything else?
No response
The text was updated successfully, but these errors were encountered: