[PATCH 1/2] tpm: use tpm_buf functions in tpm2_pcr_read()
From: Jarkko Sakkinen <hidden>
Date: 2017-06-29 19:55:09
Also in:
lkml
From: Jarkko Sakkinen <hidden>
Date: 2017-06-29 19:55:09
Also in:
lkml
On Thu, Jun 29, 2017 at 01:18:58AM +0300, Jarkko Sakkinen wrote:
On Fri, Jun 23, 2017 at 03:41:56PM +0200, Roberto Sassu wrote:quoted
tpm2_pcr_read() now builds the PCR read command buffer with tpm_buf functions. This solution is preferred to using a tpm2_cmd structure, as tpm_buf functions provide protection against buffer overflow. Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>Reviewed-by: Jarkko Sakkinen <redacted>
Tested-by: Jarkko Sakkinen <redacted> /Jarkko -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html