[libvirt PATCH] qemu: qemuBuildChardevCommand: use chrSourcePriv unconditionally

Peter Krempa pkrempa at redhat.com
Mon Dec 13 12:37:18 UTC 2021


On Mon, Dec 13, 2021 at 13:30:28 +0100, Ján Tomko wrote:
> In the QEMU driver, we allocate private source data unconditionally
> for every chardev and the rest of the function just assumes it's there.
> 
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
> Pointed out by Coverity.
> 
>  src/qemu/qemu_command.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

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




More information about the libvir-list mailing list