[U-Boot] [U-Boot, 2/3] Infineon TPM: Fix potential buffer overruns
Tom Rini
trini at konsulko.com
Mon Mar 5 18:54:12 UTC 2018
On Mon, Feb 12, 2018 at 05:56:36PM -0500, Jeremy Boone wrote:
> From: Jeremy Boone <jeremy.boone at nccgroup.trust>
>
> Ensure that the Infineon I2C and SPI TPM driver performs adequate
> validation of the length extracted from the TPM response header.
> This patch prevents integer underflow when the length was too small,
> which could lead to memory corruption.
>
> Signed-off-by: Jeremy Boone <jeremy.boone at nccgroup.trust>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180305/01a2291d/attachment.sig>
More information about the U-Boot
mailing list