\r
Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
+ (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
\r
\r
This program and the accompanying materials\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
EblDirCmd (\r
IN UINTN Argc,\r
IN CHAR8 **Argv\r
UnicodeFileName[0] = '\0';\r
MatchSubString = &UnicodeFileName[0];\r
if (Argc > 2) {\r
- AsciiStrToUnicodeStr (Argv[2], UnicodeFileName);\r
+ AsciiStrToUnicodeStrS (Argv[2], UnicodeFileName,\r
+ ARRAY_SIZE (UnicodeFileName));\r
if (UnicodeFileName[0] == '*') {\r
// Handle *Name substring matching\r
MatchSubString = &UnicodeFileName[1];\r
MatchSubString = NULL;\r
UnicodeFileName[0] = '\0';\r
if (Argc > 2) {\r
- AsciiStrToUnicodeStr (Argv[2], UnicodeFileName);\r
+ AsciiStrToUnicodeStrS (Argv[2], UnicodeFileName, MAX_CMD_LINE);\r
if (UnicodeFileName[0] == '*') {\r
MatchSubString = &UnicodeFileName[1];\r
}\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
EblCdCmd (\r
IN UINTN Argc,\r
IN CHAR8 **Argv\r