All of lore.kernel.org
 help / color / mirror / Atom feed
From: P J P <ppandit@redhat.com>
To: Laszlo Ersek <lersek@redhat.com>
Cc: Qemu Developers <qemu-devel@nongnu.org>,
	Qinghao Tang <luodalongde@gmail.com>,
	Stefan Hajnoczi <stefanha@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] virtio: add check for descriptor's mapped address
Date: Mon, 19 Sep 2016 14:37:48 +0530 (IST)	[thread overview]
Message-ID: <alpine.LFD.2.20.1609191436270.10164@wniryva> (raw)
In-Reply-To: <e77e758a-028d-c6a8-5d43-8c116e8ee7cd@redhat.com>

+-- On Fri, 16 Sep 2016, Laszlo Ersek wrote --+
| CC Stefan
| I think it would be reasonable to handle this other guest bug similarly:
| 
|     if (iov[num_sg].iov_base == NULL) {
|         error_report("virtio: bogus descriptor or out of resources");
|         exit(EXIT_FAILURE);
|     }
...
| So, unless Stefan or someone else has a better idea, I suggest the above
| error message, and exit(EXIT_FAILURE).

I have sent a revised patch v2. Thank you.
--
Prasad J Pandit / Red Hat Product Security Team
47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F

      reply	other threads:[~2016-09-19  9:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-15 11:34 [Qemu-devel] [PATCH] virtio: add check for descriptor's mapped address P J P
2016-09-16 17:00 ` Laszlo Ersek
2016-09-19  9:07   ` P J P [this message]

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=alpine.LFD.2.20.1609191436270.10164@wniryva \
    --to=ppandit@redhat.com \
    --cc=lersek@redhat.com \
    --cc=luodalongde@gmail.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /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.