commit | a147918e79c3a239be59358af659ea9f0959538b | [log] [tgz] |
---|---|---|
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | Tue Feb 14 21:57:42 2017 +0200 |
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | Mon Apr 03 22:46:01 2017 +0300 |
tree | 2502fcfffc23e84d930669accc4c60b0da138c2f | |
parent | 38eb24ebb01f875f812aa869c4cd62959510111c [diff] |
tpm: move length validation to tpm_transmit() Check that the length matches the length reported by the response header already in tpm_transmit() to improve validation. Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Tested-by: James Bottomley <James.Bottomley@HansenPartnership.com> Reviewed-by: James Bottomley <James.Bottomley@HansenPartnership.com>