audk/SecurityPkg
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
..
Application/RngTest SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Hash2DxeCrypto SecurityPkg: Fix typos in comments 2016-07-11 10:29:46 +08:00
Include SecurityPkg TcgStorageOpalLib: Check BlockSid capability. 2016-05-05 12:52:46 +08:00
Library SecurityPkg: AuthVariableLib: Revert UserPhysicalPresent feature from AuthVariableLib 2016-07-22 09:48:00 +08:00
Pkcs7Verify/Pkcs7VerifyDxe SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
RandomNumberGenerator/RngDxe SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Tcg SecurityPkg OpalPasswordDxe: Fix buffer overflow issue. 2016-08-03 09:21:27 +08:00
UserIdentification SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
VariableAuthenticated SecurityPkg SecureBootConfigDxe: Add check for the external PE/COFF image. 2016-07-14 15:04:53 +08:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
SecurityPkg.dec SecurityPkg: Add PcdUserPhysicalPresence to indicate use physical presence. 2016-06-29 09:42:59 +08:00
SecurityPkg.dsc SecurityPkg SecureBootConfigDxe: Add check for the external PE/COFF image. 2016-07-14 15:04:53 +08:00
SecurityPkg.uni SecurityPkg: Add PcdUserPhysicalPresence to indicate use physical presence. 2016-06-29 09:42:59 +08:00
SecurityPkgExtra.uni SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00