]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix initialization of virCommandPtr when creating QEMU argv
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 14 Sep 2012 14:35:33 +0000 (15:35 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 14 Sep 2012 16:15:37 +0000 (17:15 +0100)
commit731c911ceb977a11572f4311e8cd96740337bfa1
tree85390e0f44fd7965bd65dbd3f793877450ac1df3
parenta55a610b303a8ad9fef96e609c3c24f98220996a
Fix initialization of virCommandPtr when creating QEMU argv

If the qemuBuildCommandLine method raised an error before the
virCommandPtr instance was created, the local var would not
be initialized, resulting in a possible SEGV in the error
cleanup branch. Also add some debugging of the method params
src/qemu/qemu_command.c