mirror of https://github.com/acidanthera/audk.git
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:
parent
35053df36a
commit
d5955a904d
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue