audk/ShellPkg/Library
hegdenag 521981ee76 ShellPkg/Ifconfig6: Address ASSERT because of a missing NULL check
When we issue 'ifconfig6 -s <interface> auto' system hangs with
an ASSERT in StrLen. in IfConfig6SetInterfaceInfo, for 'auto' case
we added checks to rule out the invalid inputs like 'host', 'gw'
and 'dns'. To parse through this, we do a VarArg = VarArg->Next but
we dont check new VarArg before calling StrCmp. Fix with a check
in this patch.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com>
Reviewed-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Sriram Subramanian <sriram-s@hpe.com>
2017-01-13 09:40:48 +08:00
..
UefiDpLib ShellPkg/UefiDpLib: rebase to ARRAY_SIZE() 2016-10-27 11:15:20 +02:00
UefiHandleParsingLib ShellPkg/HandleParsingLib: Fix build failure due to missing semicolon 2017-01-11 13:14:40 +08:00
UefiShellBcfgCommandLib ShellPkg: Update sources to include MdePkg protocol definitions 2016-10-19 10:26:16 +08:00
UefiShellCEntryLib ShellPkg: Fix typos in comments and variables 2016-11-15 11:05:34 +08:00
UefiShellCommandLib ShellPkg/ShellCommandLib: Add missing EFIAPI for public library APIs 2016-11-11 10:59:39 +08:00
UefiShellDebug1CommandsLib ShellPkg/SmbiosView: Add decoding of SMBIOS record type 43 2017-01-13 09:15:57 +08:00
UefiShellDriver1CommandsLib ShellPkg/dh: Support dump from GUID and "decode" parameter 2017-01-11 10:07:08 +08:00
UefiShellInstall1CommandsLib Revert "ShellPkg : Add UEFI_APPLICATION module type to UefiShellInstall1CommandsLib.inf" 2016-01-06 16:23:20 +00:00
UefiShellLevel1CommandsLib ShellPkg: Update sources to include MdePkg protocol definitions 2016-10-19 10:26:16 +08:00
UefiShellLevel2CommandsLib ShellPkg/cd: Fix "cd" to support "fs0:dir" (no slash after ':') 2016-12-29 09:35:14 +08:00
UefiShellLevel3CommandsLib ShellPkg: Add missing header line for SFO flag in 'cls' command 2016-12-09 09:32:51 +08:00
UefiShellLib ShellPkg: print only valid characters for file overwrite prompt 2016-10-31 08:21:05 -07:00
UefiShellNetwork1CommandsLib ShellPkg/UefiShellNetwork1CommandsLib: Fix incorrect Protocol format 2016-12-14 21:34:33 +08:00
UefiShellNetwork2CommandsLib ShellPkg/Ifconfig6: Address ASSERT because of a missing NULL check 2017-01-13 09:40:48 +08:00
UefiShellTftpCommandLib ShellPkg: Update sources to include MdePkg protocol definitions 2016-10-19 10:26:16 +08:00