diff options
| author | Chris Fernald <chfernal@microsoft.com> | 2025-06-12 00:21:34 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-01-19 14:04:24 +0300 |
| commit | 79eab6ffff07deb80c698453bb67d348d81ab975 (patch) | |
| tree | 973bae7d3c2e4dc50f254417bc48cc713dc259da /MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h | |
| parent | 564b8e182569eaf611bad765587b40387dafea33 (diff) | |
| download | edk2-79eab6ffff07deb80c698453bb67d348d81ab975.tar.xz | |
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 <chfernal@microsoft.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h')
0 files changed, 0 insertions, 0 deletions
