audk/MdeModulePkg/Library/PiDxeS3BootScriptLib
Star Zeng d6f38e374e 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 <shumin.qiu@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com>
2016-06-13 16:04:22 +08:00
..
BootScriptExecute.c MdeModulePkg PiDxeS3BootScriptLib: Initialize the EFI_BOOT_SCRIPT_TABLE_HEADER.Version. 2015-04-13 01:56:57 +00:00
BootScriptInternalFormat.h MdeModulePkg PiDxeS3BootScriptLib: Initialize the EFI_BOOT_SCRIPT_TABLE_HEADER.Version. 2015-04-13 01:56:57 +00:00
BootScriptSave.c MdeModulePkg DxeS3BootScriptLib: Check (mSmst != NULL) before freeing SMRAM 2016-06-13 16:04:22 +08:00
DxeS3BootScriptLib.inf MdeModulePkg DxeS3BootScriptLib: Revert git commit 058196bbb3 2016-06-07 10:01:10 +08:00
DxeS3BootScriptLib.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
InternalBootScriptLib.h MdeModulePkg PiDxeS3BootScriptLib: Remove a hidden assumption. 2015-09-15 07:49:12 +00:00