Logo
Explore Help
Sign In
dasharo/edk2
0
0
Fork 0
You've already forked edk2
mirror of https://github.com/Dasharo/edk2.git synced 2026-03-06 14:47:27 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
5e5bb2a9baefcd2f231696ea94576dab5565fbfb
edk2/MdeModulePkg/Library/SmmCorePerformanceLib
T
History
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
..
SmmCorePerformanceLib.c
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
SmmCorePerformanceLib.inf
Add new extension PerformanceLib APIs to store ID info.
2012-04-24 09:12:36 +00:00
SmmCorePerformanceLibInternal.h
Add new extension PerformanceLib APIs to store ID info.
2012-04-24 09:12:36 +00:00
Powered by Gitea Page: 804ms Template: 19ms
Auto
English
English
Licenses API