commit | b3f40703408e57cad492802b777448a068b1f671 | [log] [tgz] |
---|---|---|
author | Jeremy Boone <jeremy.boone@nccgroup.trust> | Mon Feb 12 17:56:37 2018 -0500 |
committer | Tom Rini <trini@konsulko.com> | Mon Mar 05 10:05:36 2018 -0500 |
tree | f70dbe24a583f0f794a5eefffeae66716d382c13 | |
parent | afe0e6bddf295d4514ab56cd76d5ec13a9c30b22 [diff] |
Atmel TPM: Fix potential buffer overruns Ensure that the Atmel TPM driver performs sufficient validation of the length returned in the TPM response header. This patch prevents memory corruption if the header contains a length value that is larger than the destination buffer. Signed-off-by: Jeremy Boone <jeremy.boone@nccgroup.trust>