efi_loader: simplify PE consistency check
Knowing that at least one section header follows the optional header we
only need to check for the length of the 64bit header which is longer than
the 32bit header.
Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
Loading
Please sign in to comment