Re: [libvirt PATCH] qemu: qemuBuildChardevCommand: use chrSourcePriv unconditionally

2021-12-13 Thread Peter Krempa
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 > --- > Pointed out by Coverity. > > src/qemu/qemu_command.c | 2

[libvirt PATCH] qemu: qemuBuildChardevCommand: use chrSourcePriv unconditionally

2021-12-13 Thread Ján Tomko
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 --- Pointed out by Coverity. src/qemu/qemu_command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git