diff options
author | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2017-01-31 13:43:59 -0500 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2017-02-03 22:03:14 +0200 |
commit | a118cf2a5b5a0d4541d04e8e8fcde8564803330c (patch) | |
tree | be1c5e34aa6771b89c9b898d7e7ae90ee8cb9fea /security/selinux/ss/services.c | |
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>
Diffstat (limited to 'security/selinux/ss/services.c')
0 files changed, 0 insertions, 0 deletions