diff options
author | Jeremy Boone <jeremy.boone@nccgroup.trust> | 2018-02-12 17:56:37 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-03-05 10:05:36 -0500 |
commit | b3f40703408e57cad492802b777448a068b1f671 (patch) | |
tree | f70dbe24a583f0f794a5eefffeae66716d382c13 /board/cavium/thunderx/atf.c | |
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>
Diffstat (limited to 'board/cavium/thunderx/atf.c')
0 files changed, 0 insertions, 0 deletions