Re: [PATCH RFC v2 1/5] tpm: validate TPM 2.0 commands

From: Jarkko Sakkinen
Date: Thu Jan 12 2017 - 15:35:05 EST


On Thu, Jan 12, 2017 at 07:46:04PM +0200, Jarkko Sakkinen wrote:
> Check for every TPM 2.0 command that the command code is supported and
> the command buffer has at least the length that can contain the header
> and the handle area.
>
> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>

I think this could be bundled with Stefans patch. It is fairly
independent of the rest of the patch set.

/Jarkko