audk/MdeModulePkg/Universal/Acpi
lzeng14 9d00d20ed4 1. Use the check IsAddressValid() to prevent SMM communication buffer overflow in SmmVariable, FtwSmm, FpdtSmm, SmmCorePerformance and SmmBaseHelper, and add check to prevent InfoSize overflows in SmmVariableHandler.
2. Refine the debug message.
3. Add check to make sure the input VariableName is A Null-terminated string.
4. Use local variable to hold StrSize (VariableName) to avoid duplicated StrSize calculation.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14317 6f19259b-4bc3-4df7-8a09-765794883524
2013-04-25 10:49:45 +00:00
..
AcpiPlatformDxe Free memory allocated by ReadSection. 2011-12-02 01:08:05 +00:00
AcpiTableDxe Fix build error. 2012-12-03 01:06:28 +00:00
BootGraphicsResourceTableDxe Clean up include of ACPI header file so that only IndustryStandard/Acpi.h is needed for supported ACPI version(e.g. Acpi40.h, Acpi50.h). 2012-07-12 06:18:22 +00:00
BootScriptExecutorDxe MdeMdeModulePkg/BootScriptExecutorDxe: Replaces absolute addressing that requires a relocation entry with PC relative addressing that does not require a relocation entry. This patch is required to make this file assemble and link with Xcode 2013-04-16 02:45:36 +00:00
FirmwarePerformanceDataTableDxe MdeModulePkg: eliminate all implicit library dependencies for all modules in MdeModulePkg on PcdLib 2012-11-01 06:59:25 +00:00
FirmwarePerformanceDataTablePei Clean up include of ACPI header file so that only IndustryStandard/Acpi.h is needed for supported ACPI version(e.g. Acpi40.h, Acpi50.h). 2012-07-12 06:18:22 +00:00
FirmwarePerformanceDataTableSmm 1. Use the check IsAddressValid() to prevent SMM communication buffer overflow in SmmVariable, FtwSmm, FpdtSmm, SmmCorePerformance and SmmBaseHelper, and add check to prevent InfoSize overflows in SmmVariableHandler. 2013-04-25 10:49:45 +00:00
S3SaveStateDxe Fix build failure. 2013-01-16 10:14:36 +00:00
SmmS3SaveState Fix build failure. 2013-01-16 10:14:36 +00:00