]> git.ipfire.org Git - thirdparty/u-boot.git/commit
efi_loader: LoadImage() check source size
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 5 May 2019 14:55:06 +0000 (16:55 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 7 May 2019 19:10:04 +0000 (21:10 +0200)
commit470dfa50da799720ed6513b89b9237064415cb73
treedd2f0ab0db272966ca39af94586a3e6a3baae004
parent84a918e8ce6cdc968a17e91768650bfe9eb8844a
efi_loader: LoadImage() check source size

If the size of the source buffer is 0, return EFI_LOAD_ERROR.
(UEFI SCT II 2017: 3.4.1 LoadImage() - 5.1.4.1.6)

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_boottime.c