summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorKlaus Jensen2022-11-10 07:59:44 +0100
committerKlaus Jensen2022-12-01 08:44:52 +0100
commit3dbc1708ea37d03dd18ce498039e31d8565e673a (patch)
tree476c6cb356c4285f6d45191184f9d603635fc8c3 /meson.build
parenthw/nvme: fix aio cancel in format (diff)
downloadqemu-3dbc1708ea37d03dd18ce498039e31d8565e673a.tar.gz
qemu-3dbc1708ea37d03dd18ce498039e31d8565e673a.tar.xz
qemu-3dbc1708ea37d03dd18ce498039e31d8565e673a.zip
hw/nvme: fix aio cancel in flush
Make sure that iocb->aiocb is NULL'ed when cancelling. Fix a potential use-after-free by removing the bottom half and enqueuing the completion directly. Fixes: 38f4ac65ac88 ("hw/nvme: reimplement flush to allow cancellation") Reviewed-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions