[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH v0 0/2] target-ppc: Fix an invalid free
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [RFC PATCH v0 0/2] target-ppc: Fix an invalid free |
Date: |
Wed, 01 Oct 2014 17:04:27 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 |
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 when I was adding unrealize call from the CPU
> hot removal path while working on CPU [un]hotplug support for sPAPR guests.
This opcode table handling code really is pretty ugly code :).
Thanks, applied both to ppc-next.
Alex
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [RFC PATCH v0 0/2] target-ppc: Fix an invalid free,
Alexander Graf <=