Go to file
lzeng14 5e5bb2a9ba 1. Fix TOCTOU issue in VariableSmm, FtwSmm, FpdtSmm, SmmCorePerformance SMM handler. For VariableSmm, pre-allocate a mVariableBufferPayload buffer with mVariableBufferPayloadSize(match with mVariableBufferPayloadSize in VariableSmmRuntimeDxe) to hold communicate buffer payload to avoid TOCTOU issue.
2. Add check to ensure CommBufferPayloadSize not exceed mVariableBufferPayloadSize or is enough to hold function structure in VariableSmm and FtwSmm.
3. Align FtwGetLastWrite() in FaultTolerantWriteSmmDxe.c to FtwGetLastWrite() in FaultTolerantWrite.c.

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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14325 6f19259b-4bc3-4df7-8a09-765794883524
2013-05-07 05:38:32 +00:00
AppPkg - For writing sin_port, htons() must be used. 2013-02-08 21:34:26 +00:00
ArmPkg ArmPkg/BdsLib: Added support for FDT alignment through PcdArmLinuxFdtAlignment 2013-04-14 09:36:41 +00:00
ArmPlatformPkg ArmPlatformPkg: Remove an unused function. 2013-04-14 09:32:45 +00:00
BaseTools Roll back the changes for BaseTools 2012-06-25 02:24:12 +00:00
BeagleBoardPkg ArmPlatformPkg: Remove an unused function. 2013-04-14 09:32:45 +00:00
Conf Adding top-level Conf directory for next generation of EDK II build infrastructure tools. 2007-06-20 19:33:23 +00:00
CryptoPkg The openssl API RSA_public_decrypt() and RSA_private_encrypt() are deprecated, use RSA_sign(), RSA_verify() instead. 2013-04-23 01:52:17 +00:00
DuetPkg Add missing braces around initializer. 2012-10-11 02:15:23 +00:00
EdkCompatibilityPkg 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
EdkShellBinPkg New EDK Shell binary(r62). 2013-04-03 09:39:19 +00:00
EdkShellPkg EdkShellPkg: Added new patch to support EFI Shell project revision 61 2012-09-27 15:23:33 +00:00
EmbeddedPkg EmbeddedPkg: Remove an unused binary. 2013-04-14 09:29:11 +00:00
EmulatorPkg Update to build with 10.8 OS X Frameworks. This is a Mac only change. 2012-12-22 00:47:17 +00:00
FatBinPkg FatBinPkg: Added ARM Binaries 2012-09-27 15:25:52 +00:00
IntelFrameworkModulePkg Remove the blank line between InitializeLangVariable() and it's function header. 2013-04-23 12:48:07 +00:00
IntelFrameworkPkg Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:29:46 +00:00
MdeModulePkg 1. Fix TOCTOU issue in VariableSmm, FtwSmm, FpdtSmm, SmmCorePerformance SMM handler. For VariableSmm, pre-allocate a mVariableBufferPayload buffer with mVariableBufferPayloadSize(match with mVariableBufferPayloadSize in VariableSmmRuntimeDxe) to hold communicate buffer payload to avoid TOCTOU issue. 2013-05-07 05:38:32 +00:00
MdePkg MedPkg: Fix EFI_ERROR_SECTION_DESCRIPTOR definition in CPER to match UEFI 2.3.1 specification. 2013-03-20 06:43:17 +00:00
NetworkPkg Update dual network stack drivers to produce multiple Driver Binding Protocol. 2013-04-25 01:33:43 +00:00
Nt32Pkg Change the type of NotifyHandle from EFI_HANDLE to VOID * for SimpleTextInEx protocol. 2012-07-30 03:50:42 +00:00
Omap35xxPkg EmbeddedPkg: Introduced a separate SerialPortExtLib library 2013-03-12 00:40:11 +00:00
OptionRomPkg Contributed-under: TianoCore Contribution Agreement 1.0 2013-02-27 22:33:09 +00:00
OvmfPkg OvmfPkg: remove OvmfVideo.rom references 2013-04-03 18:20:57 +00:00
PcAtChipsetPkg Raise TPL to high to disable CPU interrupt before 8259 legacy base vector is changed, then restore TPL level at last when 8259 initialization is done. 2012-10-31 08:58:27 +00:00
PerformancePkg Fixed build failed. 2012-05-31 08:35:48 +00:00
SecurityPkg 1. Fix TOCTOU issue in VariableSmm, FtwSmm, FpdtSmm, SmmCorePerformance SMM handler. For VariableSmm, pre-allocate a mVariableBufferPayload buffer with mVariableBufferPayloadSize(match with mVariableBufferPayloadSize in VariableSmmRuntimeDxe) to hold communicate buffer payload to avoid TOCTOU issue. 2013-05-07 05:38:32 +00:00
ShellBinPkg ShellBinPkg: Added ARM Binaries 2012-09-27 15:28:54 +00:00
ShellPkg ShellPkg: explicitly prevent dereferencing pointer 2013-04-18 16:05:59 +00:00
SourceLevelDebugPkg Read/Write memory space including MMIO range with the width requested from HOST. 2013-05-06 07:36:32 +00:00
StdLib StdLib: Fix printf issues with floating point and wide character strings. Also resolves a compilation issue with VS2010. See ISSUES.txt items 1, 11. 2013-03-11 18:00:30 +00:00
StdLibPrivateInternalFiles StdLib: Add internal use only header for interactive I/O. 2012-12-11 21:03:57 +00:00
UefiCpuPkg Fix build issue on DDK3790 tool chain. 2013-02-05 01:35:29 +00:00
UnixPkg UnixPkg: Mark as deprecated (replaced by EmulatorPkg) 2012-10-05 07:05:54 +00:00
BuildNotes2.txt Update EDKII BuildNotes to say the default tool chain tag is VS2008 instead of VS2005 2011-12-14 06:15:48 +00:00
edksetup.bat Added VS2010 support in edksetup script. 2012-04-10 07:45:35 +00:00
edksetup.sh Correct copyright year 2011-02-16 12:21:31 +00:00