]> git.ipfire.org Git - thirdparty/libvirt.git/commit
testCompareXMLToArgv: Avoid use of uninitialized 'monitor_chr'
authorPeter Krempa <pkrempa@redhat.com>
Wed, 22 Sep 2021 08:52:23 +0000 (10:52 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 23 Sep 2021 12:48:50 +0000 (14:48 +0200)
commit1bb7b3aa9cca12620717b8fa4e830349904054a7
treea53b1386028568217795a781c9c39866702483c4
parentf5d8913f911c80caf9e0534ce124baee72577013
testCompareXMLToArgv: Avoid use of uninitialized 'monitor_chr'

Failure of 'testQemuInfoInitArgs' jumps over the initialization of
'monitor_chr' via memset, which leads to a crash.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvtest.c