audk/MdeModulePkg
Star Zeng e434be3c9c MdeModulePkg PiSmmCore: Set ForwardLink to NULL in RemoveOldEntry()
"Entry->Link.ForwardLink = NULL;" is present in RemoveMemoryMapEntry()
for DxeCore, that is correct.
"Entry->Link.ForwardLink = NULL;" is absent in RemoveOldEntry()
for PiSmmCore, that is incorrect.

Without this fix, when FromStack in Entry is TRUE,
the "InsertTailList (&mMapStack[mMapDepth].Link, &Entry->Link);" in
following calling to CoreFreeMemoryMapStack() will fail as the entry
at mMapStack[mMapDepth] actually has been removed from the list.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
2018-01-31 17:23:36 +08:00
..
Application MdeModulePkg: Fix misuses of AllocateCopyPool 2017-11-08 17:13:03 +08:00
Bus MdeModulePkg/SdMmcPciHcDxe: allow HC capabilities to be overridden 2018-01-30 09:25:13 +00:00
Core MdeModulePkg PiSmmCore: Set ForwardLink to NULL in RemoveOldEntry() 2018-01-31 17:23:36 +08:00
Include MdeModulePkg: introduce SD/MMC override protocol 2018-01-30 09:25:13 +00:00
Library MdeModulePkg/UefiBootManagerLib: Skip the DNS device path node check. 2018-01-25 13:36:56 +08:00
Logo MdeModulePkg/LogoDxe: Return error if HII Package not present 2017-05-22 16:30:11 -07:00
Universal MdeModulePkg/Partition: Fix media probe 2018-01-26 18:56:25 +08:00
MdeModulePkg.dec MdeModulePkg: introduce SD/MMC override protocol 2018-01-30 09:25:13 +00:00
MdeModulePkg.dsc MdeModulePkg: Update package version to 0.98 2018-01-22 19:09:36 +08:00
MdeModulePkg.uni MdeModulePkg/MdeModulePkg.uni: clarify Heap Guard usage 2018-01-10 09:52:39 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00