mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
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 |
||
|---|---|---|
| .. | ||
| AcpiVariableHobOnSmramReserveHobThunk | ||
| BootScriptSaveOnS3SaveStateThunk | ||
| BootScriptThunkHelper | ||
| CpuIo2OnCpuIoThunk | ||
| DeviceIoOnPciRootBridgeIoThunk | ||
| DxeSmmReadyToLockOnExitPmAuthThunk | ||
| FrameworkHiiOnUefiHiiThunk | ||
| FrameworkSmmStatusCodeOnPiSmmStatusCodeThunk | ||
| Fv2OnFvThunk | ||
| FvFileLoaderOnLoadFileThunk | ||
| FvOnFv2Thunk | ||
| Include | ||
| LegacyRegion2OnLegacyRegionThunk | ||
| Library/UefiLanguageLib | ||
| MpServicesOnFrameworkMpServicesThunk | ||
| PciCfg2OnPciCfgThunk | ||
| PciCfgOnPciCfg2Thunk | ||
| PiSmbiosRecordOnDataHubSmbiosRecordThunk | ||
| PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk | ||
| PrintThunk | ||
| ReadOnlyVariable2OnReadOnlyVariableThunk | ||
| ReadOnlyVariableOnReadOnlyVariable2Thunk | ||
| SmmAccess2OnSmmAccessThunk | ||
| SmmBaseHelper | ||
| SmmBaseOnSmmBase2Thunk | ||
| SmmControl2OnSmmControlThunk | ||
| Uc2OnUcThunk | ||
| UcOnUc2Thunk | ||