audk/ShellPkg/Library/UefiShellNetwork2CommandsLib
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
..
Ifconfig6.c ShellPkg/Ifconfig6: Address ASSERT because of a missing NULL check 2017-01-13 09:40:48 +08:00
Ping6.c ShellPkg: update ping6 to use timer service instead of timer arch protocol . 2016-11-23 14:01:32 +08:00
UefiShellNetwork2CommandsLib.c
UefiShellNetwork2CommandsLib.h
UefiShellNetwork2CommandsLib.inf ShellPkg/UefiShellNetwork2CommandsLib: Fix incorrect Protocol format 2016-12-14 21:34:34 +08:00
UefiShellNetwork2CommandsLib.uni ShellPkg: Add error prompt message in Ifconfig6 command. 2016-12-06 18:37:50 +08:00