Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tpm2: Check size of TPM2B_NAME buffer before reading 2 bytes from it
Fix the missing buffer size check that the TPM 2 errata v1.4 mentions in 2.6.2 by adding a buffer size check before reading 2 bytes from a TPM2B_NAME buffer. There's no known CVE for this. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
- Loading branch information