Re: [Qemu-devel] [RFC PATCH v0 0/2] target-ppc: Fix an invalid free

2014-10-01 Thread Alexander Graf
On 26.09.14 11:07, Bharata B Rao wrote: > g_free() in target-ppc/translate_init.c:ppc_cpu_unrealizefn() can fail > due to invalid pointer being passed to it. Fix this along with a cleanup. > > I have never seen ppc_cpu_unrealizefn() getting called for sPAPR guests, > but I ran into this issue wh

[Qemu-devel] [RFC PATCH v0 0/2] target-ppc: Fix an invalid free

2014-09-26 Thread Bharata B Rao
g_free() in target-ppc/translate_init.c:ppc_cpu_unrealizefn() can fail due to invalid pointer being passed to it. Fix this along with a cleanup. I have never seen ppc_cpu_unrealizefn() getting called for sPAPR guests, but I ran into this issue when I was adding unrealize call from the CPU hot remo