From: Tom Rini Date: Sun, 21 Aug 2016 11:09:34 -0400 Subject: [U-Boot] efi_loader: Fix relocations above 64kb image size In-Reply-To: <1471556718-70405-1-git-send-email-agraf@suse.de> References: <1471556718-70405-1-git-send-email-agraf@suse.de> Message-ID: <20160821150934.GT5342@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: