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: NJeremy Boone <jeremy.boone@nccgroup.trust>
Showing
想要评论请 注册 或 登录