On Mon, Jan 16, 2017 at 03:24:09PM +0200, Jarkko Sakkinen wrote:
On Fri, Jan 13, 2017 at 09:36:34PM -0500, Stefan Berger wrote:Please go through the whole patch and remove arithmetic
Make sure that we have not received less bytes than what is indicatedThere are some things that I want to comment after all but I can give
in the header of the TPM response. Also, check the number of bytes in
the response before accessing its data.
Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxxxxxxxxxx>
now
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
I also noticed that this patch is not CC'd to linux-kernel.
from every possible place where you only end up with a
constant.