[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH] target-arm: fix a segmentation fault due to illeg
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [PATCH] target-arm: fix a segmentation fault due to illegal memory access |
Date: |
Wed, 20 Jun 2018 14:26:36 +0100 |
On 19 June 2018 at 08:58, Zheng Xiang <address@hidden> wrote:
> From: Zheng Xiang <address@hidden>
>
> The elements of kvm_devices_head list are freed in
> kvm_arm_machine_init_done(),
> but we still access these illegal memory in kvm_arm_devlistener_del().
>
> This will cause segment fault when booting guest with MALLOC_PERTURB_=1.
>
> Signed-off-by: Zheng Xiang <address@hidden>
> ---
> target/arm/kvm.c | 1 +
> 1 file changed, 1 insertion(+)
Applied to target-arm.next, thanks.
-- PMM