On Wed, Feb 19, 2020 at 09:26:23AM +0100, Peter Krempa wrote:
qemuMonitorGetIOThreads returns a NULL terminated list even when 0

NULL-terminated

iothreads are present. The caller didn't perform cleanup if there were 0
iothreads leaking the array.

https://bugzilla.redhat.com/show_bug.cgi?id=1804548

Reported-by: Jing Yan <ji...@redhat.com>
Signed-off-by: Peter Krempa <pkre...@redhat.com>

Fixes: d1eac92784573559b6fd56836e33b215c89308e3

---
src/qemu/qemu_driver.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)


Reviewed-by: Ján Tomko <jto...@redhat.com>

Jano

Attachment: signature.asc
Description: PGP signature

Reply via email to