summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-05-24 07:19:18 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2019-05-24 18:58:13 +0200
commit2d51bd2926955f2781d7889720cbe64c2c93531c (patch)
treec42556eb7e79d18953124a16adb538733e7af13c /lib
parent1f1075c6e385a746d58d2ca0cd2f2f9dde1c2f5d (diff)
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 <xypron.glpk@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_unicode_collation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_unicode_collation.c b/lib/efi_loader/efi_unicode_collation.c
index 06fddca1c4..f293b42397 100644
--- a/lib/efi_loader/efi_unicode_collation.c
+++ b/lib/efi_loader/efi_unicode_collation.c
@@ -12,7 +12,7 @@
#include <efi_loader.h>
/* 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.