qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH-for-5.2] hw/virtio/vhost-vdpa: Fix Coverity CID 1432864


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH-for-5.2] hw/virtio/vhost-vdpa: Fix Coverity CID 1432864
Date: Mon, 2 Nov 2020 19:52:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1

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 via email to

[Prev in Thread] Current Thread [Next in Thread]