qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: qemu-trivial@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
	qemu-devel@nongnu.org, qemu-stable@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] do not check pointers after dereferencing them
Date: Mon, 3 Jun 2013 09:58:36 +0200	[thread overview]
Message-ID: <20130603075836.GC9435@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <51A89B9D.9010404@redhat.com>

On Fri, May 31, 2013 at 06:46:21AM -0600, Eric Blake wrote:
> On 05/31/2013 06:00 AM, Paolo Bonzini wrote:
> > Two instances, both spotted by Coverity.  In one, two blocks were
> > swapped.  In the other, the check is not needed anymore.
> > 
> > Cc: qemu-stable@nongnu.org
> > Cc: qemu-trivial@nongnu.org
> > Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> > ---
> >  monitor.c |  2 +-
> >  savevm.c  | 10 +++++-----
> >  2 files changed, 6 insertions(+), 6 deletions(-)
> 
> This version of the savevm.c fix is nicer than Stefan's attempt:
> https://lists.gnu.org/archive/html/qemu-devel/2013-05/msg04506.html
> 
> Reviewed-by: Eric Blake <eblake@redhat.com>

I'll drop mine.  I didn't dare to swap the blocks just in case something
dependend on doing the popen() and bailing out afterwards, but it's hard
to imagine that.

Stefan

  reply	other threads:[~2013-06-03  7:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-31 12:00 [Qemu-devel] [PATCH] do not check pointers after dereferencing them Paolo Bonzini
2013-05-31 12:46 ` Eric Blake
2013-06-03  7:58   ` Stefan Hajnoczi [this message]
2013-05-31 15:39 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev

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=20130603075836.GC9435@stefanha-thinkpad.redhat.com \
    --to=stefanha@redhat.com \
    --cc=eblake@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-stable@nongnu.org \
    --cc=qemu-trivial@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).