aboutsummaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2019-09-09 20:10:09 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2019-10-04 10:25:23 +1000
commit226c9d15df0a9c9e94fc30c373cdefbc4156d8dd (patch)
treed63879015b822760159c836e6afe30384b1c14be /COPYING
parentf42b6f535c290046d10aebf1796fb46957dfa8e6 (diff)
downloadqemu-226c9d15df0a9c9e94fc30c373cdefbc4156d8dd.zip
qemu-226c9d15df0a9c9e94fc30c373cdefbc4156d8dd.tar.gz
qemu-226c9d15df0a9c9e94fc30c373cdefbc4156d8dd.tar.bz2
spapr-tpm-proxy: Drop misleading check
Coverity is reporting in CID 1405304 that tpm_execute() may pass a NULL tpm_proxy->host_path pointer to open(). This is based on the fact that h_tpm_comm() does a NULL check on tpm_proxy->host_path and then passes tpm_proxy to tpm_execute(). The check in h_tpm_comm() is abusive actually since a spapr-proxy-tpm requires a non NULL host_path property, as checked during realize. Fixes: 0fb6bd073230 Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <156805260916.1779401.11054185183758185247.stgit@bahia.lan> Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions