A use after free may occur if efi_load_image() fails. Heinrich Schuchardt (3): efi_loader: return status from efi_setup_loaded_image() efi_loader: new function efi_delete_handle() efi_loader: error handling in efi_load_image()
include/efi_loader.h | 10 +- lib/efi_loader/efi_boottime.c | 228 ++++++++++++++++++++++-------------------- 2 files changed, 129 insertions(+), 109 deletions(-) -- 2.14.2 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot