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
Tpm2CommandLib.uni
Tpm2Context.c
Tpm2DictionaryAttack.c
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
Tpm2Integrity.c SecurityPkg Tpm2CommandLib: Fix TPM2.0 response memory overflow 2018-03-21 16:43:34 +08:00
Tpm2Miscellaneous.c
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
Tpm2Test.c