//\r
TargetStrLen = AsciiStrLen(StrStart);\r
if (InputStrLen == TargetStrLen) {\r
- AsciiStrCpy(StrStart, String);\r
+ AsciiStrCpyS(StrStart, TargetStrLen + 1, String);\r
//\r
// Some UEFI drivers (such as network) need some information in SMBIOS table.\r
// Here we create SMBIOS table and publish it in\r
// If new SMBIOS table size exceeds the previous allocated page, \r
// it is time to re-allocate memory (below 4GB).\r
// \r
- DEBUG ((EFI_D_ERROR, "SmbiosCreateTable() re-allocate SMBIOS 32-bit table\n"));\r
+ DEBUG ((EFI_D_INFO, "%a() re-allocate SMBIOS 32-bit table\n",\r
+ __FUNCTION__));\r
if (EntryPointStructure->TableAddress != 0) {\r
//\r
// Free the previous allocated page\r
// If new SMBIOS table size exceeds the previous allocated page, \r
// it is time to re-allocate memory at anywhere.\r
//\r
- DEBUG ((EFI_D_ERROR, "SmbiosCreate64BitTable() re-allocate SMBIOS 64-bit table\n"));\r
+ DEBUG ((EFI_D_INFO, "%a() re-allocate SMBIOS 64-bit table\n",\r
+ __FUNCTION__));\r
if (Smbios30EntryPointStructure->TableAddress != 0) {\r
//\r
// Free the previous allocated page\r