edk2/MdeModulePkg
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
..
Application MdeModulePkg: Make function comments and function match in UI codes 2016-05-25 16:35:36 +08:00
Bus MdeModulePkg/AtaBusDxe: Fix some ATA hard drives cannot be discovered 2016-06-07 08:44:32 +08:00
Core MdeModulePkg/PiSmmIpl: Check order of EndOfDxe and DxeSmmReadyToLock 2016-05-30 09:41:02 +08:00
Include MdeModulePkg/BootLogoLib: pull GraphicsOutput protocol into class header 2016-05-27 11:27:00 +02:00
Library MdeModulePkg DxeS3BootScriptLib: Check (mSmst != NULL) before freeing SMRAM 2016-06-13 16:04:22 +08:00
Logo MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Universal MdeModulePkg: Correct the usage of gPerformanceProtocolGuid in inf 2016-06-12 12:56:23 +08:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt
MdeModulePkg.dec MdeModulePkg:Prevent the BmRepairAllControllers routine in an infinite loop 2016-06-03 15:57:47 +08:00
MdeModulePkg.dsc MdeModulePkg RamDiskDxe: VALID_ARCH cleanup to list supported options 2016-05-25 13:29:43 +08:00
MdeModulePkg.uni MdeModulePkg:Prevent the BmRepairAllControllers routine in an infinite loop 2016-06-03 15:57:47 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00