Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 79eab6ffff07deb80c698453bb67d348d81ab975
https://github.com/tianocore/edk2/commit/79eab6ffff07deb80c698453bb67d348d81ab975
Author: Chris Fernald <[email protected]>
Date: 2026-01-19 (Mon, 19 Jan 2026)
Changed paths:
M
StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/AArch64/StandaloneMmPeCoffExtraActionLib.c
Log Message:
-----------
StandaloneMmPkg: Avoid updating attributes on 0 length sections
PE images can have a zero virtual length section for placeholders, unused
relocation, or other artifacts. At best, updated attributes on such sections
is a no-op, but at worst is can cause spurious errors and asserts. Specifically
asserts have been observed in Hafnium when attempting to update attributes
on a zero length section. It is best to just skip such sections entirely.
This commit simply logs and skips these sections explicitly.
Signed-off-by: Chris Fernald <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits