[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] virsh: fix invalid free



Thanks and pushed now.

----- Original Message -----
From: "Osier Yang" <jyang redhat com>
To: "Alex Jia" <ajia redhat com>
Cc: libvir-list redhat com
Sent: Thursday, March 15, 2012 3:16:48 PM
Subject: Re: [libvirt] [PATCH] virsh: fix invalid free

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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]