audk/SecurityPkg/Library/Tpm2CommandLib
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
..
Tpm2Capability.c SecurityPkg Tpm2CommandLib: Fix TPM2.0 response memory overflow 2018-03-21 16:43:34 +08:00
Tpm2CommandLib.inf SecurityPkg/TpmCommandLib: Add Tpm2ReadPublic. 2017-02-21 16:47:18 +08:00
Tpm2CommandLib.uni SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Tpm2Context.c
Tpm2DictionaryAttack.c SecurityPkg: Clear AuthSession content after use. 2016-01-11 05:18:32 +00:00
Tpm2EnhancedAuthorization.c SecurityPkg Tpm2CommandLib: Fix TPM2.0 response memory overflow 2018-03-21 16:43:34 +08:00
Tpm2Help.c SecurityPkg Tpm2CommandLib: Fix TPM2.0 response memory overflow 2018-03-21 16:43:34 +08:00
Tpm2Hierarchy.c SecurityPkg: Clear AuthSession content after use. 2016-01-11 05:18:32 +00:00
Tpm2Integrity.c SecurityPkg Tpm2CommandLib: Fix TPM2.0 response memory overflow 2018-03-21 16:43:34 +08:00
Tpm2Miscellaneous.c SecurityPkg: Clear AuthSession content after use. 2016-01-11 05:18:32 +00:00
Tpm2NVStorage.c SecurityPkg Tpm2CommandLib: Fix TPM2.0 response memory overflow 2018-03-21 16:43:34 +08:00
Tpm2Object.c SecurityPkg Tpm2CommandLib: Fix TPM2.0 response memory overflow 2018-03-21 16:43:34 +08:00
Tpm2Sequences.c SecurityPkg Tpm2CommandLib: Fix TPM2.0 response memory overflow 2018-03-21 16:43:34 +08:00
Tpm2Session.c SecurityPkg Tpm2CommandLib: Fix TPM2.0 response memory overflow 2018-03-21 16:43:34 +08:00
Tpm2Startup.c SecurityPkg: Add DEBUG messages for TPM2Startup 2016-05-03 10:03:41 +08:00
Tpm2Test.c