qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Jason Wang <jasowang@redhat.com>,
	QEMU Developers <qemu-devel@nongnu.org>,
	Cindy Lu <lulu@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [PATCH-for-5.2] hw/virtio/vhost-vdpa: Fix Coverity CID 1432864
Date: Mon, 2 Nov 2020 19:52:58 +0100	[thread overview]
Message-ID: <ff6f31c1-c3f3-f2b1-aaad-843c317c903f@redhat.com> (raw)
In-Reply-To: <CAFEAcA_URCc2LjdrR8GbK-uu+isTVPH39qSce4yWqNV39RkbWg@mail.gmail.com>

On 11/2/20 6:31 PM, Peter Maydell wrote:
> On Wed, 28 Oct 2020 at 15:45, Philippe Mathieu-Daudé <philmd@redhat.com> wrote:
>>
>> Fix uninitialized value issues reported by Coverity:
>>
>>   Field 'msg.reserved' is uninitialized when calling write().
>>
>> Fixes: a5bd05800f8 ("vhost-vdpa: batch updating IOTLB mappings")
>> Reported-by: Coverity (CID 1432864: UNINIT)
>> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> 
> Hi Philippe; thanks for this patch. I don't suppose you
> could also write a patch that fixes the same problem in
> vhost_kernel_send_device_iotlb_msg() (CID 1432871) ?

Oh I hadn't noticed it, sure, no problem!



      reply	other threads:[~2020-11-02 18:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-28 15:40 [PATCH-for-5.2] hw/virtio/vhost-vdpa: Fix Coverity CID 1432864 Philippe Mathieu-Daudé
2020-11-02 17:31 ` Peter Maydell
2020-11-02 18:52   ` Philippe Mathieu-Daudé [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=ff6f31c1-c3f3-f2b1-aaad-843c317c903f@redhat.com \
    --to=philmd@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=lulu@redhat.com \
    --cc=mst@redhat.com \
    --cc=peter.maydell@linaro.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 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).