audk/NetworkPkg
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
..
Application NetworkPkg: Remove ping6 and ifconfig shell application. 2017-10-23 09:01:57 +08:00
Dhcp6Dxe NetworkPkg/Dhcp6Dxe: Handle the Nil UUID case 2017-03-06 08:32:04 +08:00
DnsDxe NetworkPkg/DnsDxe: Avoid to access the freed memory buffer. 2017-12-12 19:09:19 +08:00
HttpBootDxe NetworkPkg: Print error message to screen if error occurs during HTTP boot. 2017-11-16 14:08:18 +08:00
HttpDxe NetworkPkg/HttpDxe: Fix the incorrect SizeofHeaders in HttpTcpReceiveHeader(). 2017-11-24 08:24:26 +08:00
HttpUtilitiesDxe NetworkPkg:HttpDxe:Consume DxeHttpLib API changes 2016-04-27 10:43:18 +08:00
IScsiDxe NetworkPkg: Update IScsiDxe to pass XCODE build 2017-12-05 23:09:35 +08:00
Include/Guid NetworkPkg: Convert files to CRLF line ending 2017-04-06 15:43:48 +08:00
Ip6Dxe NetworkPkg: Fix GCC build error. 2017-09-06 18:08:07 +08:00
IpSecDxe NetworkPkg: Refine casting expression result to bigger size 2017-03-06 14:33:23 +08:00
Mtftp6Dxe NetworkPkg: Refine casting expression result to bigger size 2017-03-06 14:33:23 +08:00
TcpDxe NetworkPkg: Typo fix and comments correction 2017-06-14 10:51:50 +08:00
TlsAuthConfigDxe NetworkPkg/TlsAuthConfigDxe: Remove the extra FreePool 2017-10-26 16:21:57 +08:00
TlsDxe NetworkPkg: Convert files to CRLF line ending 2017-04-06 15:43:48 +08:00
Udp6Dxe NetworkPkg: Add missed character in copyright. 2016-08-01 10:21:04 +08:00
UefiPxeBcDxe NetworkPkg/UefiPxeBcDxe: Fix the redundant condition check 2017-09-29 09:01:29 +08:00
NetworkPkg.dec NetworkPkg: Update package version to 0.97. 2017-05-05 10:35:49 +08:00
NetworkPkg.dsc NetworkPkg: Remove ping6 and ifconfig shell application. 2017-10-23 09:01:57 +08:00
NetworkPkg.uni NetworkPkg: Define the prompt and help information for new PCD. 2017-03-01 15:40:27 +08:00
NetworkPkgExtra.uni NetworkPkg: Convert all .uni files to utf-8 2015-12-15 04:56:57 +00:00