[PATCH 1/1] qemu_tmp.c: fix 'shortName' leak

Peter Krempa pkrempa at redhat.com
Mon Nov 16 16:35:57 UTC 2020


On Mon, Nov 16, 2020 at 13:23:36 -0300, Daniel Henrique Barboza wrote:

s/qemu_tmp/qemu_tpm/ in summary.


> This is a Coverity fix pointed out by John in IRC. This code
> was introduced in 19d74fdf0eb, when the TPM Proxy device for
> for ppc64 was introduced.
> 
> This will leak in case we have 2 TPMs in the same domain, a
> possible scenario with the protected Ultravisor execution in
> PowerPC guests.
> 
> Fixes: 19d74fdf0eb5d2e89e80ceedea736425160ffccb
> Reported-by: John Ferlan <jferlan at redhat.com>
> Signed-off-by: Daniel Henrique Barboza <danielhb413 at gmail.com>
> ---

Reviewed-by: Peter Krempa <pkrempa at redhat.com>




More information about the libvir-list mailing list