Re: [PATCH] tpm: tpm_crb: Fix an improper buffer size calculation bug

2019-08-27 Thread Seunghun Han
> > On Mon, Aug 26, 2019 at 04:44:00PM +0900, Seunghun Han wrote: > > I'm Seunghun Han and work at the Affiliated Institute of ETRI. I found > > You can drop the first sentence from the commit message. The SoB below > is sufficient. Thank you, and I will remove it from next version of the patch.

Re: [PATCH] tpm: tpm_crb: Fix an improper buffer size calculation bug

2019-08-26 Thread Jarkko Sakkinen
On Mon, Aug 26, 2019 at 04:44:00PM +0900, Seunghun Han wrote: > I'm Seunghun Han and work at the Affiliated Institute of ETRI. I found You can drop the first sentence from the commit message. The SoB below is sufficient. > a bug related to improper buffer size calculation in crb_fixup_cmd_size >

[PATCH] tpm: tpm_crb: Fix an improper buffer size calculation bug

2019-08-26 Thread Seunghun Han
I'm Seunghun Han and work at the Affiliated Institute of ETRI. I found a bug related to improper buffer size calculation in crb_fixup_cmd_size function. When the TPM CRB regions are two or more, the crb_map_io function calls crb_fixup_cmd_size twice to calculate command buffer size and response bu