audk/NetworkPkg/DnsDxe
Jiaxin Wu 0c6108b652 NetworkPkg/DnsDxe: Avoid to access the freed memory buffer.
The HostNameToIp() is a asynchronous function, so the caller
may free the HostName buffer immediately once HostNameToIp()
is returned. Then DNS driver may access the freed memory buffer
later.

This patch is to fix above issue.

Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wang Fan <fan.wang@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>
2017-12-12 19:09:19 +08:00
..
ComponentName.c NetworkPkg:Fix Network memory leak when calling GetModeData interface 2016-01-28 02:32:43 +00:00
DnsDhcp.c NetworkPkg: Fix issue in dns driver when building DHCP packet. 2017-05-09 14:31:00 +08:00
DnsDhcp.h
DnsDriver.c NetworkPkg/DnsDxe: Fix zero StationIp configuration failure of DNSv6 2017-03-30 11:31:47 +08:00
DnsDriver.h NetworkPkg/DnsDxe: Update RetryCount/RetryInterval to comply with UEFI spec. 2017-12-12 19:08:48 +08:00
DnsDxe.inf NetworkPkg: Revert git 'eb213f2f' fix 2016-03-02 15:43:55 +08:00
DnsDxe.uni NetworkPkg: Convert all .uni files to utf-8 2015-12-15 04:56:57 +00:00
DnsDxeExtra.uni NetworkPkg: Convert all .uni files to utf-8 2015-12-15 04:56:57 +00:00
DnsImpl.c NetworkPkg/DnsDxe: Fix the potential memory leak issue. 2017-12-12 19:09:03 +08:00
DnsImpl.h NetworkPkg/DnsDxe: Update RetryCount/RetryInterval to comply with UEFI spec. 2017-12-12 19:08:48 +08:00
DnsProtocol.c NetworkPkg/DnsDxe: Avoid to access the freed memory buffer. 2017-12-12 19:09:19 +08:00