]> git.proxmox.com Git - mirror_edk2.git/commit - NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
NetworkPkg/Ip6Dxe: Fix the potential NULL pointer free
authorJiaxin Wu <jiaxin.wu@intel.com>
Tue, 3 Jan 2017 03:27:38 +0000 (11:27 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Wed, 4 Jan 2017 00:40:27 +0000 (08:40 +0800)
commitab50ab6ea159821d780be60759874dcf38835d1b
tree5247414ed4bc055ba074f29148bfbc16353ffce5
parentd52f9163debb523e06d49ed8a4627a0317bab92c
NetworkPkg/Ip6Dxe: Fix the potential NULL pointer free

Ip6ConfigSetDnsServer may cause ASSERT if the invalid DNS
server address received. The issue is triggered by the NULL
pointer(Tmp) free.

Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c