summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf
diff options
context:
space:
mode:
authorSureshkumar Ponnusamy <sureshkumar.ponnusamy@microsoft.com>2024-08-06 18:16:33 -0400
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-09-03 20:29:02 +0000
commit8504d2be17c98265049ec334711aad4c0baed1d7 (patch)
tree3a4e31d02e8c1cfc9c5c84fa857709278299dc24 /IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf
parent1a89d9887ff41e804610c5687e646fe30af2d7b2 (diff)
downloadedk2-master.zip
edk2-master.tar.gz
edk2-master.tar.bz2
MdeModulePkg/FaultTolerantWriteDxe: Fix buffer overrun issueHEADmaster
- This PR aims to prevent a buffer overrun issue found in FtwGetLastWriteHeader function.As per the current code, when there is a malformed blocks (with all bytes as 0s) then `Offset += FTW_WRITE_TOTAL_SIZE (FtwHeader->NumberOfWrites, FtwHeader->PrivateDataSize)` would access beyond FtwWorkSpaceSize. - Also added the signature check to validate work space Signed-off-by: Sureshkumar Ponnusamy <sponnusamy@microsoft.com>
Diffstat (limited to 'IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf')
0 files changed, 0 insertions, 0 deletions