]> git.proxmox.com Git - mirror_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)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Tue, 4 Dec 2018 15:21:25 +0000 (10:21 -0500)
commita639f96111eadb3b8e3021fd3f27e2948ad1c640
tree3b711eb6a53d03211c91a6e92b06a3825f79af16
parente92b63ea610201bd743343fc6b11e6c39c8d3515
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>
hw/tpm/tpm_tis.c