~roguescholar/ipxe/trunk

  • Committer: Michael Brown
  • Date: 2023-11-27 12:42:58 UTC
  • Revision ID: git-v1:a147245f1a2f92a85a75226ea921acb22322ab4d
[efi] Extend PE header size to cover space up to first section

Hybrid bzImage and UEFI binaries (such as wimboot) may place sections
at explicit offsets within the PE file, as described in commit b30a098
("[efi] Use load memory address as file offset for hybrid binaries").
This can leave a gap after the PE headers that is not covered by any
section.  It is not entirely clear whether or not such gaps are
permitted in binaries submitted for Secure Boot signing.

To minimise potential problems, extend the PE header size to cover any
space before the first explicitly placed section.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
Filename Latest Rev Last Changed Committer Comment Size
..
.github 5893 3 years ago Michael Brown [ci] Add GitHub action for build testing Signed-o Diff
COPYING.UBDL 4696 9 years ago Michael Brown [legal] Add support for the Unmodified Binary Dist 2.8 KB Diff Download File
COPYING.GPLv2 4693 9 years ago Michael Brown [legal] Update GPLv2 licence text Update the GPLv 17.6 KB Diff Download File
COPYING 4693 9 years ago Michael Brown [legal] Update GPLv2 licence text Update the GPLv 558 bytes Diff Download File
README 2971 13 years ago Michael Brown [doc] Re-add README file The README file was acci 113 bytes Diff Download File
contrib 421 18 years ago Michael Brown Initial revision Diff
src 1 19 years ago Michael Brown Initial revision Diff