Since the next patch will add AsciiStrToGuid in BaseLib, renaming
the internal function AsciiStrToGuid to IniAsciiStrToGuid to avoid
link failure.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
OpenIniFile(), PreProcessDataFile(), ProfileGetSection(), ProfileGetEntry()\r
will receive untrusted input and do basic validation.\r
\r
OpenIniFile(), PreProcessDataFile(), ProfileGetSection(), ProfileGetEntry()\r
will receive untrusted input and do basic validation.\r
\r
- Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions\r
IN CHAR8 *Str,\r
OUT EFI_GUID *Guid\r
)\r
IN CHAR8 *Str,\r
OUT EFI_GUID *Guid\r
)\r
if (!IsValidGuid(Value, AsciiStrLen(Value))) {\r
return EFI_NOT_FOUND;\r
}\r
if (!IsValidGuid(Value, AsciiStrLen(Value))) {\r
return EFI_NOT_FOUND;\r
}\r
- Status = AsciiStrToGuid(Value, Guid);\r
+ Status = IniAsciiStrToGuid(Value, Guid);\r
if (EFI_ERROR (Status)) {\r
return EFI_NOT_FOUND;\r
}\r
if (EFI_ERROR (Status)) {\r
return EFI_NOT_FOUND;\r
}\r