All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Snow <jsnow@redhat.com>
To: Max Reitz <mreitz@redhat.com>, qemu-block@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Qemu-block] [PATCH for-2.9 0/2] block/mirror: Fix use-after-free
Date: Mon, 3 Apr 2017 16:23:11 -0400	[thread overview]
Message-ID: <3ec28a9e-a87b-f390-d9f4-849a48ac0020@redhat.com> (raw)
In-Reply-To: <20170403175150.15253-1-mreitz@redhat.com>



On 04/03/2017 01:51 PM, Max Reitz wrote:
> 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!
> 

Reviewed-by: John Snow <jsnow@redhat.com>

> 
> 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(-)
> 

  parent reply	other threads:[~2017-04-03 20:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` John Snow [this message]
2017-04-06 17:53 ` [Qemu-devel] [PATCH for-2.9 0/2] block/mirror: Fix use-after-free Kevin Wolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ec28a9e-a87b-f390-d9f4-849a48ac0020@redhat.com \
    --to=jsnow@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.