[PATCH 0/3] efi_loader: Fix buffer underflow in FatToStr

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Tue Nov 22 11:52:07 CET 2022


Fix a buffer underflow in the FatToStr implementation.

Add a unit test to detect incorrect conversion of characters >= 0x80.

v2:
	Reformat commit message
	Add unit test

Heinrich Schuchardt (2):
  efi_selftest: unsigned char parameter for efi_st_strcmp_16_8()
  efi_selftest: Improve the FatToStr() unit test

Mikhail Ilin (1):
  efi_loader: Fix buffer underflow

 include/efi_selftest.h                            |  2 +-
 lib/efi_loader/efi_unicode_collation.c            |  2 +-
 lib/efi_selftest/efi_selftest_unicode_collation.c | 13 +++++++++++++
 lib/efi_selftest/efi_selftest_util.c              |  2 +-
 4 files changed, 16 insertions(+), 3 deletions(-)

-- 
2.37.2



More information about the U-Boot mailing list