[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Qemu-block] [PATCH] util/async: hold AioContext ref to
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [Qemu-block] [PATCH] util/async: hold AioContext ref to prevent use-after-free |
Date: |
Tue, 23 Jul 2019 20:09:35 +0100 |
On Tue, Jul 23, 2019 at 8:06 PM Stefan Hajnoczi <address@hidden> wrote:
> So if co causes ctx to be freed then we're in trouble. Fix this problem
> by holding a reference to ctx.
For QEMU 4.2. I'm not aware of a way to trigger this bug in QEMU
proper. This fix just makes tests/test-bdrv-drain more reliable.
Stefan