microsoft / mu_basecore

Project Mu BaseCore
https://microsoft.github.io/mu/
Other
242 stars 124 forks source link

[Bug]: RaiseErrorIfProtectionFails Does Not Assert on Debug Build #991

Closed os-d closed 4 weeks ago

os-d commented 3 months ago

Is there an existing issue for this?

Current Behavior

When the DXE memory protection HOB has RaiseErrorIfProtectionFails set, an unaligned image does not cause an assert to occur.

Expected Behavior

Per the README, an assert should occur.

Steps To Reproduce

Load image that fails to be protected with RaiseErrorIfProtectionFails set via DEBUG memory protection set. See that no assert occurs.

Build Environment

- OS(s):
- Tool Chain(s):
- Targets Impacted:
Any

Version Information

Top of tree.

Urgency

Medium

Are you going to fix this?

I will fix it

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had activity in 45 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions.

github-actions[bot] commented 4 weeks ago

This issue has been automatically been closed because it did not have any activity in 45 days and no follow up within 7 days after being marked stale. Thank you for your contributions.