[libvirt] [PATCH] virsh: fix invalid free

Osier Yang jyang at redhat.com
Thu Mar 15 07:16:48 UTC 2012


On 03/15/2012 02:06 PM, Alex Jia wrote:
> * tools/virsh.c (cmdDetachDisk): fix invalid free due to using
>    uninitialised value.
>
> * How to reproduce?
> # virsh detach-disk a b
> error: failed to get domain 'a'
> *** glibc detected *** virsh: double free or corruption (out): 0x00007fff410ed1a0 ***

Good catch, ACK.




More information about the libvir-list mailing list