
If the parent image handle does not refer to a loaded image return EFI_INVALID_PARAMETER. (UEFI SCT II 2017: 3.4.1 LoadImage() - 5.1.4.1.1)
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)
v3 Put each change into a separate patch
Remove the following changes due to a conflict between UEFI and UEFI SCT: * If the file path is NULL, return EFI_INVALID_PARAMETER. * If the file path is invalid, return EFI_NOT_FOUND.
Heinrich Schuchardt (2): efi_loader: LoadImage() check parent image efi_loader: LoadImage() check source size
include/efi_loader.h | 1 + lib/efi_loader/efi_boottime.c | 11 +++++++- lib/efi_loader/efi_root_node.c | 48 ++++++++++++++++++---------------- 3 files changed, 37 insertions(+), 23 deletions(-)
-- 2.20.1