diff options
author | Zhang Lubo <lubo.zhang@intel.com> | 2016-08-19 15:38:20 +0800 |
---|---|---|
committer | Fu Siyuan <siyuan.fu@intel.com> | 2016-08-24 13:44:02 +0800 |
commit | d82d59edb0ec23e6ef708e04a5553ac32f1eb12e (patch) | |
tree | f7b268850e897b0f458fc2879e76f95c2691f175 /ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.uni | |
parent | 4962fcfa7d265824f01f74d782d5ed841ec8a72f (diff) | |
download | edk2-platforms-d82d59edb0ec23e6ef708e04a5553ac32f1eb12e.tar.xz |
MdeModulePkg:Fix bug in function AsciiStrToIp4.
If a FQDN contains 3 dots '.' like "a.b.c.com", the AsciiStrToIp4
will return success as the HostName has a valid IP address. So we
need to check if it is a decimal character before using AsciiStrDecimalToUintn.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Sriram Subramanian <sriram-s@hpe.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.uni')
0 files changed, 0 insertions, 0 deletions