[U-Boot] [PATCH 0/4] fixes for EFI_FILE_PROTOCOL

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Sep 7 23:59:46 UTC 2019


This series fixes problems in the EFI_FILE_PROTOCOL:

* parameter checks for EFI_FILE_PROTOCOL.Write()
* correct handling of directories in EFI_FILE_PROTOCOL.READ()
* correct conversion of UTF-8 into UTF-16
* file position check in EFI_FILE_PROTOCOL.READ()

Heinrich Schuchardt (4):
  efi_loader: EFI_FILE_PROTOCOL.Write() check args
  efi_loader: eliminate inline function ascii2unicode()
  efi_loader: correct reading of directories
  efi_loader: file size checks

 include/efi_loader.h                     |  16 ---
 lib/efi_loader/efi_device_path_to_text.c |  10 +-
 lib/efi_loader/efi_file.c                | 166 ++++++++++++++---------
 3 files changed, 106 insertions(+), 86 deletions(-)

--
2.20.1



More information about the U-Boot mailing list