summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/CommonDataClass/PlatformClass.py
diff options
context:
space:
mode:
authorJiaxin Wu <jiaxin.wu@intel.com>2017-11-17 06:09:01 +0300
committerJiaxin Wu <jiaxin.wu@intel.com>2017-12-12 14:09:19 +0300
commit0c6108b6524483d0e20f8d91caedb15daf75765a (patch)
tree1c833102de035f275c9ecc7f525558ef5c7acaf5 /BaseTools/Source/Python/CommonDataClass/PlatformClass.py
parent43d7e607348ee14de334e11e9c6987278af57f14 (diff)
downloadedk2-0c6108b6524483d0e20f8d91caedb15daf75765a.tar.xz
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/CommonDataClass/PlatformClass.py')
0 files changed, 0 insertions, 0 deletions