commit | 0703225ed1236a23e5a499cf3c8e6f5168c40c03 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Thu Aug 18 23:45:18 2016 +0200 |
committer | Tom Rini <trini@konsulko.com> | Sat Aug 20 14:03:27 2016 -0400 |
tree | 7f0b8cf20000d71583e586d59704c3ab5c4e4012 | |
parent | 9b180ea0d9efe235c9a585635ba04581d2d37c8a [diff] |
efi_loader: Fix relocations above 64kb image size 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: Alexander Graf <agraf@suse.de>