[U-Boot] [PATCH v3] efi_loader: Check machine type in the image header

Alexander Graf agraf at suse.de
Fri Apr 6 07:27:44 UTC 2018



On 06.04.18 03:32, Ivan Gorinov wrote:
> Check FileHeader.Machine to make sure the EFI executable image is built
> for the same architecture. For example, 32-bit U-Boot on x86 will print
> an error message instead of loading an x86_64 image and crashing.
> 
> Signed-off-by: Ivan Gorinov <ivan.gorinov at intel.com>

Ah, sorry, I didn't see v3 until after I replied on the other thread.
This is pretty much exactly what I wanted to see :).


Thanks!

Alex


More information about the U-Boot mailing list