From: Tom Rini Date: Mon, 5 Mar 2018 13:54:12 -0500 Subject: [U-Boot] [U-Boot, 2/3] Infineon TPM: Fix potential buffer overruns In-Reply-To: <1518476197-24517-3-git-send-email-jeremy.boone@gmail.com> References: <1518476197-24517-3-git-send-email-jeremy.boone@gmail.com> Message-ID: <20180305185412.GP22474@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Feb 12, 2018 at 05:56:36PM -0500, Jeremy Boone wrote: > From: Jeremy Boone > > 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 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: