]> 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>
Tue, 2 Apr 2019 01:36:21 +0000 (20:36 -0500)
commit4afb0370b9ef7d41af79fc5f730184593a4735dc
tree8dfb05ed8e36c70e1cea827f2725b4243ead3dbe
parent66160b7aeb0ac1feb6008286f546d8ad6c10ce7a
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