[libvirt] [PATCH 05/23] Fix initialization of virCommandPtr when creating QEMU argv

Eric Blake eblake at redhat.com
Fri Sep 14 15:50:04 UTC 2012


On 09/14/2012 09:20 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> 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 | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120914/e0b2d311/attachment-0001.sig>


More information about the libvir-list mailing list