Skip to content
Commit b3f40703 authored by Jeremy Boone's avatar Jeremy Boone Committed by Tom Rini
Browse files

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: default avatarJeremy Boone <jeremy.boone@nccgroup.trust>
parent afe0e6bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment