commit | a118cf2a5b5a0d4541d04e8e8fcde8564803330c | [log] [tgz] |
---|---|---|
author | Stefan Berger <stefanb@linux.vnet.ibm.com> | Tue Jan 31 13:43:59 2017 -0500 |
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | Fri Feb 03 22:03:14 2017 +0200 |
tree | be1c5e34aa6771b89c9b898d7e7ae90ee8cb9fea | |
parent | 4d23cc323cdbee1cbcd8a7f059fff9ef2b0c473d [diff] |
tpm: fix the type of owned field in cap_t In cap_t the size of the type bool is assumed to be one byte. This commit sorts out the issue by changing the type to u8. Fixes: c659af78eb7b ("tpm: Check size of response before accessing data") Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>