Enlarge the buffer to contain file name.

(based on FatPkg commit b65791b9cd034d3b222d2a0c9b071def9bbc7446)

[jordan.l.justen@intel.com: Use script to relicense to 2-clause BSD]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Acked-by: Mark Doran <mark.doran@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Qing Huang 2010-08-16 00:41:48 +00:00 committed by Jordan Justen
parent 35053df36a
commit d5955a904d
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ Returns:
--*/
{
CHAR16 Buffer[FAT_MAIN_NAME_LEN + 1];
CHAR16 Buffer[FAT_MAIN_NAME_LEN + 1 + FAT_EXTEND_NAME_LEN + 1];
UINT8 OutCaseFlag;
ASSERT (StrSize (Str) <= sizeof (Buffer));