Files
edk2/MdeModulePkg/Library/PiDxeS3BootScriptLib
Star Zeng b34cf5efe3 MdeModulePkg DxeS3BootScriptLib: Check (mSmst != NULL) before freeing SMRAM
There is static scan tool reports BootScriptSave.c:628:'mSmst' is
explicitly dereferenced.

The patch is to check (mSmst != NULL) before freeing SMRAM at
BootScriptSave.c:628.

Cc: Shumin Qiu <[email protected]>
Cc: Jiewen Yao <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <[email protected]>
Reviewed-by: Shumin Qiu <[email protected]>
(cherry picked from commit d6f38e374e)
2016-07-06 16:48:30 +08:00
..