mirror_edk2/SecurityPkg
Zhang, Chao B dd577319e8 SecurityPkg Tpm2CommandLib: Fix TPM2.0 response memory overflow
TPM2.0 command lib always assumes TPM device and transmission channel can
respond correctly. But it is not true when communication channel is exploited
and wrong data is spoofed. Add more logic to prohibit memory overflow attack.

Cc: Long Qin <qin.long@intel.com>
Cc: Yao Jiewen <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Long Qin <qin.long@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
2018-03-21 16:43:34 +08:00
..
Hash2DxeCrypto SecurityPkg: Fix typos in comments 2016-11-15 15:45:31 +08:00
Include SecurityPkg/include: remove TrEE. 2018-03-16 14:19:53 +08:00
Library SecurityPkg Tpm2CommandLib: Fix TPM2.0 response memory overflow 2018-03-21 16:43:34 +08:00
Pkcs7Verify/Pkcs7VerifyDxe SecurityPkg/Pkcs7Verify: Add the comments to address security problem 2017-10-18 23:03:38 +08:00
RandomNumberGenerator/RngDxe SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Tcg SecurityPkg OpalPasswordDxe:Fix wrong BufferSize input to UnicodeSPrint 2018-03-17 15:49:01 +08:00
UserIdentification SecurityPkg: Fix typos in comments 2016-11-15 16:21:33 +08:00
VariableAuthenticated SecurityPkg: Convert source file to DOS format 2017-12-28 12:48:02 +08:00
SecurityPkg.dec SecurityPkg/dec: remove TrEE. 2018-03-16 14:19:54 +08:00
SecurityPkg.dsc SecurityPkg/dsc: remove TrEE. 2018-03-16 14:19:46 +08:00
SecurityPkg.uni SecurityPkg: Add UNI string for 2 PCDs 2018-02-05 09:13:59 +08:00
SecurityPkgExtra.uni SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00