commit | bb1bba3d776733c41dbfa2d1dc0fe234819a79f2 | [log] [tgz] |
---|---|---|
author | Liming Gao <gaoliming@byosoft.com.cn> | Fri Nov 26 00:11:06 2021 +0800 |
committer | Liming Gao <gaoliming@byosoft.com.cn> | Fri Nov 26 16:54:49 2021 +0800 |
tree | 95c99e98b4eb86948d0639c3f4679e903abf1507 | |
parent | 4c7ce0d285bc7fd593718fd5dec02e136cbfad8e [diff] |
NetworkPkg: Fix invalid pointer for DNS response token on error Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3719 This issue is introduced by the commit 43d7e607. Token->RspData.H2AData is de-allocated on error but it is not set to NULL. HTTP module attempts to free again and cause assert. Signed-off-by: Baraneedharan Anbazhagan <anbazhagan@hp.com> Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>