Files
edk2/SecurityPkg/Library/Tpm2CommandLib
Zhang, Chao B cf54069a36 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 <[email protected]>
Cc: Yao Jiewen <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chao Zhang <[email protected]>
Reviewed-by: Long Qin <[email protected]>
Reviewed-by: Yao Jiewen <[email protected]>
(cherry picked from commit dd577319e8)
2018-03-21 16:46:24 +08:00
..
2013-09-18 05:31:18 +00:00