Skip to content
Commit a147918e authored by Jarkko Sakkinen's avatar Jarkko Sakkinen
Browse files

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: default avatarJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
Reviewed-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 38eb24eb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment