edk2/EdkCompatibilityPkg/Compatibility
vanjeff 700ab68a4c Sync patches r14276, r14305 and r14317 from main trunk.
1. Fix SMM Variable driver stack GetVariable return INVALID_PARAMETER when DataSize is bigger than SMM communication buffer. 
2. Fix potential overflow for SetVariable interface.
3. 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.
4. Add check to make sure the input VariableName is A Null-terminated string.
5. Use local variable to hold StrSize (VariableName) to avoid duplicated StrSize calculation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010.SR1@14322 6f19259b-4bc3-4df7-8a09-765794883524
2013-04-28 02:31:36 +00:00
..
AcpiVariableHobOnSmramReserveHobThunk Avoid using code name in comments. 2011-10-19 05:44:28 +00:00
BootScriptSaveOnS3SaveStateThunk Sync patches r13935, r13948, r13952, r13980, r13981 and r14062 from main trunk. 2013-04-01 06:48:54 +00:00
BootScriptThunkHelper Sync patches r13935, r13948, r13952, r13980, r13981 and r14062 from main trunk. 2013-04-01 06:48:54 +00:00
CpuIo2OnCpuIoThunk Update the copyright notice format 2010-04-24 09:48:54 +00:00
DeviceIoOnPciRootBridgeIoThunk Avoid using code name in comments. 2011-10-19 05:44:28 +00:00
DxeSmmReadyToLockOnExitPmAuthThunk Avoid using code name in comments. 2011-10-19 05:44:28 +00:00
FrameworkHiiOnUefiHiiThunk Sync patch r13406 from main trunk. 2012-06-01 05:54:15 +00:00
FrameworkSmmStatusCodeOnPiSmmStatusCodeThunk Enhance inf file to follow inf spec. 2011-03-14 08:36:16 +00:00
Fv2OnFvThunk Update the copyright notice format 2010-04-24 09:48:54 +00:00
FvFileLoaderOnLoadFileThunk Update the copyright notice format 2010-04-24 09:48:54 +00:00
FvOnFv2Thunk Update the copyright notice format 2010-04-24 09:48:54 +00:00
Include Clean up the private GUID definition in module Level. 2011-09-20 02:15:00 +00:00
LegacyRegion2OnLegacyRegionThunk Update the copyright notice format 2010-04-24 09:48:54 +00:00
Library/UefiLanguageLib Update the copyright notice format 2010-04-24 09:48:54 +00:00
MpServicesOnFrameworkMpServicesThunk EdkCompatibilityPkg MpServicesOnFrameworkMpServicesThunk: Check for x2APIC mode before accessing the APIC ID register in RendezvousFunnelProc(). 2011-09-26 07:36:15 +00:00
PciCfg2OnPciCfgThunk Update code to pass packaging tool. 2011-05-30 09:56:57 +00:00
PciCfgOnPciCfg2Thunk Avoid using code name in comments. 2011-10-19 05:44:28 +00:00
PiSmbiosRecordOnDataHubSmbiosRecordThunk According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of 0 for EFI_SMBIOS_PROTOCOL.Add() SmbiosHandle parameter to assign a unique handle to the SMBIOS record, and for EFI_SMBIOS_PROTOCOL.GetNext() SmbiosHandle parameter to get the first matched SMBIOS handle or indicate no more SMBIOS record. 2011-11-21 08:53:04 +00:00
PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk Enhance inf file to follow inf spec. 2011-03-14 08:36:16 +00:00
PrintThunk Update the copyright notice format 2010-04-24 09:48:54 +00:00
ReadOnlyVariable2OnReadOnlyVariableThunk Update code to pass packaging tool. 2011-05-30 09:56:57 +00:00
ReadOnlyVariableOnReadOnlyVariable2Thunk Update code to pass packaging tool. 2011-05-30 09:56:57 +00:00
SmmAccess2OnSmmAccessThunk Update the copyright notice format 2010-04-24 09:48:54 +00:00
SmmBaseHelper Sync patches r14276, r14305 and r14317 from main trunk. 2013-04-28 02:31:36 +00:00
SmmBaseOnSmmBase2Thunk Update the copyright notice format 2010-04-24 09:48:54 +00:00
SmmControl2OnSmmControlThunk PI 1.2 Errata C: A new return condition is added for the returned status code EFI_INVALID_PARAMETER for SMM Control2 Protocol.Trigger(). 2011-11-21 05:23:58 +00:00
Uc2OnUcThunk String Reference Cleanup. 2011-06-08 05:53:18 +00:00
UcOnUc2Thunk String Reference Cleanup. 2011-06-08 05:53:18 +00:00