rhboot / shim

UEFI shim loader
Other
819 stars 289 forks source link

pe: only process RelocDir->Size of reloc section #562

Closed mikebeaton closed 1 year ago

mikebeaton commented 1 year ago

Previously processing full padding-aligned Section->Misc.VirtualSize relied on padding reloc entries being inserted by GenFw, which is not required by spec.

Addresses https://github.com/rhboot/shim/issues/561

vathpela commented 1 year ago

Pushed as a8b0b600ddcf02605da8582b4eac1932a3bb13fa.