]> git.sur5r.net Git - u-boot/commit
efi_loader: parameter checks for LoadImage
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 7 Mar 2018 01:40:51 +0000 (02:40 +0100)
committerAlexander Graf <agraf@suse.de>
Wed, 4 Apr 2018 09:00:06 +0000 (11:00 +0200)
commit28a4fd46e7c6507d788677406a8bd385e0cb35eb
tree26cdee4b59aa710b18d480b8d2287b26ebdb3e46
parent645b5afbb8215b3386cd6fc2dc3119bd68e4c760
efi_loader: parameter checks for LoadImage

Add parameter checks in efi_load_image().
Check memory allocation is successful in efi_load_image().

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