mirror of
https://github.com/utmapp/edk2.git
synced 2026-12-01 14:00:40 -10:00
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 <[email protected]> Reviewed-by: Zhang Lubo <[email protected]> Reviewed-by: Wu Jiaxin <[email protected]> Reviewed-by: Sriram Subramanian <[email protected]>