aboutsummaryrefslogtreecommitdiff
path: root/qemu.sasl
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-11-03 07:35:41 +0100
committerMichael S. Tsirkin <mst@redhat.com>2020-11-03 07:19:27 -0500
commit8faf2f1de40e2fb919d8f584478d407a2fa7c80a (patch)
tree29a4fcbf85a74c41c64c2bde1eb0c176f9c85b87 /qemu.sasl
parent510feed79a364521df41508ced6498ebf30728cd (diff)
downloadqemu-8faf2f1de40e2fb919d8f584478d407a2fa7c80a.zip
qemu-8faf2f1de40e2fb919d8f584478d407a2fa7c80a.tar.gz
qemu-8faf2f1de40e2fb919d8f584478d407a2fa7c80a.tar.bz2
hw/virtio/vhost-backend: Fix Coverity CID 1432871
Fix uninitialized value issues reported by Coverity: Field 'msg.reserved' is uninitialized when calling write(). While the 'struct vhost_msg' does not have a 'reserved' field, we still initialize it to have the two parts of the function consistent. Reported-by: Coverity (CID 1432864: UNINIT) Fixes: c471ad0e9bd ("vhost_net: device IOTLB support") Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20201103063541.2463363-1-philmd@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qemu.sasl')
0 files changed, 0 insertions, 0 deletions