From: Heinrich Schuchardt Date: Fri, 24 May 2019 05:19:18 +0000 (+0200) Subject: efi_loader: DEL is an illegal file name character X-Git-Tag: v2019.07-rc3~6^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d51bd2926955f2781d7889720cbe64c2c93531c;p=platform%2Fkernel%2Fu-boot.git efi_loader: DEL is an illegal file name character According to the FAT32 specification 0x7f (DEL) is not a legal character for file names. Signed-off-by: Heinrich Schuchardt --- diff --git a/lib/efi_loader/efi_unicode_collation.c b/lib/efi_loader/efi_unicode_collation.c index 06fddca..f293b42 100644 --- a/lib/efi_loader/efi_unicode_collation.c +++ b/lib/efi_loader/efi_unicode_collation.c @@ -12,7 +12,7 @@ #include /* Characters that may not be used in file names */ -static const char illegal[] = "<>:\"/\\|?*"; +static const char illegal[] = "<>:\"/\\|?*\x7f"; /* * EDK2 assumes codepage 1250 when creating FAT 8.3 file names.