[U-Boot] efi_loader: Fix relocations above 64kb image size

Tom Rini trini at konsulko.com
Sun Aug 21 17:09:34 CEST 2016


On Thu, Aug 18, 2016 at 11:45:18PM +0200, Alexander Graf wrote:

> 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 at suse.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160821/595f3a4a/attachment.sig>


More information about the U-Boot mailing list