summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/AutoGen/AutoGen.py
diff options
context:
space:
mode:
authorJiaxin Wu <jiaxin.wu@intel.com>2017-11-17 11:09:01 +0800
committerJiaxin Wu <jiaxin.wu@intel.com>2017-12-12 19:09:19 +0800
commit0c6108b6524483d0e20f8d91caedb15daf75765a (patch)
tree1c833102de035f275c9ecc7f525558ef5c7acaf5 /BaseTools/Source/Python/AutoGen/AutoGen.py
parent43d7e607348ee14de334e11e9c6987278af57f14 (diff)
downloadedk2-0c6108b6524483d0e20f8d91caedb15daf75765a.tar.gz
edk2-0c6108b6524483d0e20f8d91caedb15daf75765a.tar.bz2
edk2-0c6108b6524483d0e20f8d91caedb15daf75765a.zip
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>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/AutoGen.py')
0 files changed, 0 insertions, 0 deletions