]> git.ipfire.org Git - thirdparty/qemu.git/commit
tpm: Make sure the locality received from backend is valid
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Tue, 4 Dec 2018 14:54:39 +0000 (09:54 -0500)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 28 Mar 2019 01:07:05 +0000 (20:07 -0500)
commitfe87edd5edc594b2b5247ebc44e98721c0d01e2a
tree37e9c854fef44249597481a222e5e5e77e0c1035
parent27b0c099fd7550f70f84273f8e3aa5eda80a1de7
tpm: Make sure the locality received from backend is valid

Make sure that the locality passed from the backend to
tpm_tis_request_completed() is valid.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
(cherry picked from commit a639f96111eadb3b8e3021fd3f27e2948ad1c640)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/tpm/tpm_tis.c