audk/SecurityPkg/Tcg
Dong, Eric 4636e4426a SecurityPkg OpalPasswordDxe: Fix buffer overflow issue.
In current code, PSID is processed as string and the length is 0x20.
Current code only reserved 0x20 length buffer for it, no extra buffer
for the '\0'. When driver call UnicodeStrToAsciiStrS to convert PSID,
it search the '\0' for the end. So extra dirty data saved in PSID
info which caused PSID revert action failed. This patch reserved
extra 1 byte data for the '\0'.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
2016-08-03 09:21:27 +08:00
..
MemoryOverwriteControl
MemoryOverwriteRequestControlLock
Opal SecurityPkg OpalPasswordDxe: Fix buffer overflow issue. 2016-08-03 09:21:27 +08:00
PhysicalPresencePei
Tcg2Config SecurityPkg: Update protocol usage in module INF files. 2016-04-13 14:52:58 +08:00
Tcg2Dxe SecurityPkg Tcg2Dxe: Add check for the PE/COFF image 2016-07-14 15:04:54 +08:00
Tcg2Pei SecurityPkg: Use PcdGet32() to access PcdPeiCoreMaxFvSupported 2016-05-17 10:09:32 +08:00
Tcg2Smm SecurityPkg: Tcg2Smm: Fix type casting issue 2016-06-16 14:31:07 +08:00
TcgConfigDxe SecurityPkg: TcgConfigDxe: Move TPM state string update to CallBack function 2016-02-22 14:19:04 +08:00
TcgDxe SecurityPkg: Update servers TCG ACPI Table template to TCG 1.2 2016-05-03 10:11:12 +08:00
TcgPei
TcgSmm
TrEEConfig SecurityPkg: Update protocol usage in module INF files. 2016-04-13 14:52:58 +08:00
TrEEDxe SecurityPkg TrEEDxe: Add check for the PE/COFF image. 2016-07-14 15:04:53 +08:00
TrEEPei SecurityPkg: Use PcdGet32() to access PcdPeiCoreMaxFvSupported 2016-05-17 10:09:32 +08:00
TrEESmm