mirror_edk2/MdeModulePkg
Jian J Wang fb92fe9e18 MdeModulePkg/Core/Dxe: free page 0 after disabling NULL pointer detection
To solve access issue reported by BZ1885, page 0 will be allocated to
avoid misuses if NULL pointer detection is enabled. It should be better
to be freed after EndOfDxe if BIT7 of PcdNullPointerDetectionPropertyMask
is set, because NULL pointer detection is no longer available after
EndOfDxe and there will be no access conflict.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1885
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Signed-off-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
2019-11-09 10:59:57 +08:00
..
Application MdeModulePkg VariableInfo: Always consider RT DXE and SMM stats 2019-11-05 21:55:54 -08:00
Bus MdeModulePkg/UhciPei: Initialize the variable RequestMap 2019-11-04 08:56:12 +08:00
Core MdeModulePkg/Core/Dxe: free page 0 after disabling NULL pointer detection 2019-11-09 10:59:57 +08:00
Include MdeModulePkg/Variable: Add RT GetVariable() cache support 2019-11-05 21:55:54 -08:00
Library MdeModulePkg LzmaCustomDecompressLib: Update macro to be same in CLANG tool 2019-10-24 09:41:32 +08:00
Logo MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
Universal MdeModulePkg/Variable: Add RT GetNextVariableName() cache support 2019-11-05 21:55:54 -08:00
MdeModulePkg.dec MdeModulePkg: Enable variable runtime cache by default 2019-11-05 21:55:54 -08:00
MdeModulePkg.dsc MdeModulePkg: Remove RecoveryLib.h and PeiRecoveryLibNull 2019-08-05 10:09:01 +08:00
MdeModulePkg.uni MdeModulePkg: Remove PCD gEfiMdeModulePkgTokenSpaceGuid.PcdTftpBlockSize 2019-10-08 09:20:34 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00