mirror_edk2/MdeModulePkg
Samer El-Haj-Mahmoud 4f0f2316ed MdeModulePkg: Fix IPv4 double free
Fix a possible ASSERT after NBP finishes loading from a PXE
boot. Ip4Dxe driver calls Ip4Config2SetPolicy which calls
CloseEvent on the Dhcp4Event struct member.  After NBP is
downloaded, it then calls Ip4Config2CleanInstance which calls
CloseEvent again on Dhcp4Event.  This double free can cause an
ASSERT. When the event is closed, set the event pointer to NULL
so the Ip4 code won't call CloseEvent on it again.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud <elhaj@hpe.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
2016-03-04 15:20:58 +08:00
..
Application MdeModulePkg: Add sample help information for HelloWorld application. 2016-02-24 15:11:14 +08:00
Bus MdeModulePkg: PciHostBridgeDxe: don't assume extended config space 2016-03-03 10:00:24 +01:00
Core MdeModulePkg: DxeCore: fully initialize image context before passing it on 2016-03-01 10:15:59 +01:00
Include MdeModulePkg/PciHostBridgeLib: Correct the function header comments 2016-03-03 18:24:25 +01:00
Library MdeModulePkg/PciHostBridgeLib: Correct the function header comments 2016-03-03 18:24:25 +01:00
Logo MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Universal MdeModulePkg: Fix IPv4 double free 2016-03-04 15:20:58 +08:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
MdeModulePkg.dec MdeModulePkg: Make HII configuration settings available to OS runtime 2016-03-04 14:04:43 +08:00
MdeModulePkg.dsc MdeModulePkg: Add RamDiskDxe driver implementation 2016-02-29 13:51:08 +08:00
MdeModulePkg.uni MdeModulePkg: Add missing PCD usage information string. 2016-02-29 09:39:50 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00