audk/QuarkSocPkg/QuarkNorthCluster
Michael Kinney 5f82e02a4b QuarkSocPkg/QncSmmDispatcher: Fix use after free issue
Update Quark North Cluster SMM dispatcher logic to handle
case where an SMI handler unregisters itself.

https://bugzilla.tianocore.org/show_bug.cgi?id=51

This issue was reproduced using the unit test at:

https://github.com/mdkinney/edk2/tree/Bug51/Reproduce

An ASSERT() is generated the 4th time the periodic SMI
handler is triggered when the periodic SMI handler
unregisters itself.  After applying this patch, the
DEBUG() message from the periodic SMI handler in this
unit test is generated 4 times, the periodic SMI handler
is unregistered, and the UEFI Shell works as expected.

Cc: Kelly Steele <kelly.steele@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Kelly Steele <kelly.steele@intel.com>
2016-10-07 14:56:37 -07:00
..
Include QuarkSocPkg: Add new package for Quark SoC X1000 2015-12-15 19:22:23 +00:00
Library QuarkSocPkg/ResetSystemLib: Implement ResetPlatformSpecific 2016-09-02 10:07:16 +08:00
MemoryInit/Pei QuarkSocPkg: Add /Oi option to let MemoryInit pass build. 2016-04-13 09:28:25 +08:00
QNCInit/Dxe QuarkSocPkg: QNCInit/Dxe: remove set but unused variables 2016-03-25 10:52:41 +01:00
S3Support/Dxe QuarkSocPkg: Add new package for Quark SoC X1000 2015-12-15 19:22:23 +00:00
Smm QuarkSocPkg/QncSmmDispatcher: Fix use after free issue 2016-10-07 14:56:37 -07:00
Spi QuarkSocPkg: Spi/Common: remove set but unused variables 2016-03-25 10:52:46 +01:00