]> git.proxmox.com Git - mirror_edk2.git/commit - NetworkPkg/Ip4Dxe/Ip4Config2Impl.c
MdeModulePkg/Ip4Dxe: Fix the potential NULL pointer free
authorJiaxin Wu <jiaxin.wu@intel.com>
Thu, 29 Dec 2016 07:57:39 +0000 (15:57 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Wed, 4 Jan 2017 00:40:09 +0000 (08:40 +0800)
commitd52f9163debb523e06d49ed8a4627a0317bab92c
treea4bde41ea4ddcb554669fe8f7044ca3bec398289
parent32ea56f0a65b80324e3e651432bdf496a6fc55b7
MdeModulePkg/Ip4Dxe: Fix the potential NULL pointer free

Ip4Config2SetDnsServer 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>
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c