[U-Boot] [PATCH 0/3] efi_loader: avoid use after free

Heinrich Schuchardt xypron.glpk at gmx.de
Mon Dec 4 17:03:00 UTC 2017


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



More information about the U-Boot mailing list