qemu-trivial
[Top][All Lists]
Advanced

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

Re: [Qemu-trivial] [Qemu-devel] [PATCH] hw/ide: fix a writing to null po


From: Peter Maydell
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] hw/ide: fix a writing to null pointer exception
Date: Tue, 2 Aug 2016 15:18:56 +0100

On 2 August 2016 at 11:22, fikshu(忽朝俭) <address@hidden> wrote:
> From b5e5c01b025e83500ca46628add7f63f42f9b2ab Mon Sep 17 00:00:00 2001
> From: fikshu <address@hidden>
> Date: Tue, 2 Aug 2016 17:39:16 +0800
> Subject: [PATCH] hw/ide: fix a writing to null pointer exception
>
> In qemu less than v2.1.3, ide_flush_cache calls ide_flush_cb with s->bs == 
> NULL,
> and ide_flush_cb calls bdrv_acct_done without check s->bs neither. Finally,
> bdrv_acct_done writing s->bs directly!
>
> Reported-by: fikshu <address@hidden>

Thanks for this patch. However, this bug has already been fixed
in commit f7f3ff1da0c in 2014, which made it into the 2.2
QEMU release in December 2014. We don't support releases
that old upstream. So if you're still running 2.1 then
(a) I strongly urge you to upgrade
(b) if this QEMU is from a Linux distro vendor and they're
still supporting it, then you should talk to them about
backporting commit f7f3ff1da0c

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]