All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-2.9 0/2] block/mirror: Fix use-after-free
@ 2017-04-03 17:51 Max Reitz
  2017-04-03 17:51 ` [Qemu-devel] [PATCH for-2.9 1/2] " Max Reitz
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Max Reitz @ 2017-04-03 17:51 UTC (permalink / raw)
  To: qemu-block; +Cc: qemu-devel, Max Reitz, Kevin Wolf

And the exciting 2.9 ride continues!

When mirroring from a BDS with no parents at all (such as those added
with -blockdev or blockdev-add), we have a use-after-free in mirror's
error path. The first patch of this series fixes that, the other adds a
patch so we don't regress.

What issue will we find next? Stay tuned!


Max Reitz (2):
  block/mirror: Fix use-after-free
  iotests: Add mirror tests for orphaned source

 block/mirror.c                | 12 +++++++++--
 tests/qemu-iotests/041        | 46 +++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/041.out    |  4 ++--
 tests/qemu-iotests/iotests.py | 15 ++++++++++++++
 4 files changed, 73 insertions(+), 4 deletions(-)

-- 
2.12.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-04-06 17:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-03 17:51 [Qemu-devel] [PATCH for-2.9 0/2] block/mirror: Fix use-after-free Max Reitz
2017-04-03 17:51 ` [Qemu-devel] [PATCH for-2.9 1/2] " Max Reitz
2017-04-03 18:36   ` Philippe Mathieu-Daudé
2017-04-03 17:51 ` [Qemu-devel] [PATCH for-2.9 2/2] iotests: Add mirror tests for orphaned source Max Reitz
2017-04-03 19:36   ` Eric Blake
2017-04-03 20:23 ` [Qemu-devel] [Qemu-block] [PATCH for-2.9 0/2] block/mirror: Fix use-after-free John Snow
2017-04-06 17:53 ` [Qemu-devel] " Kevin Wolf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.