• Alexander Graf's avatar
    efi_loader: Fix relocations above 64kb image size · b1237c6e
    Alexander Graf authored
    We were truncating the image offset within the target image to 16 bits
    which again meant that we were potentially overwriting random memory
    in the lower 16 bits of the image.
    
    This patch casts the offset to a more reasonable 32bits.
    
    With this applied, I can successfully see Shell.efi assert because it
    can't find a protocol it expects to be available.
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    b1237c6e
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
efi_boottime.c Loading commit data...
efi_console.c Loading commit data...
efi_disk.c Loading commit data...
efi_gop.c Loading commit data...
efi_image_loader.c Loading commit data...
efi_memory.c Loading commit data...
efi_net.c Loading commit data...
efi_runtime.c Loading commit data...