diff options
author | Zhang, Chao B <chao.b.zhang@intel.com> | 2018-03-20 16:32:11 +0800 |
---|---|---|
committer | Zhang, Chao B <chao.b.zhang@intel.com> | 2018-03-21 16:43:34 +0800 |
commit | dd577319e83d13a7ab46ffdccb6635281d2ca9e5 (patch) | |
tree | bf46fa68e9e5edfb5c6c9e64793e820eb247fedc /BaseTools | |
parent | ca2c8725c4894c55ffd7ce091e5f0c4ef9c794ed (diff) | |
download | edk2-dd577319e83d13a7ab46ffdccb6635281d2ca9e5.tar.gz edk2-dd577319e83d13a7ab46ffdccb6635281d2ca9e5.tar.bz2 edk2-dd577319e83d13a7ab46ffdccb6635281d2ca9e5.zip |
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>
Diffstat (limited to 'BaseTools')
0 files changed, 0 insertions, 0 deletions