summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2025-07-17 17:08:04 +0200
committerJason Wang <jasowang@redhat.com>2025-07-21 10:23:03 +0800
commit667ad57b7636881eb79b0b319951f3cba9bbf27e (patch)
tree73841077df98897ba7ec9fb81b52c640191b17d6 /hw/net/virtio-net.c
parentf74e4f2e60c3b2c6e2f13eb115478df116148fe6 (diff)
downloadfocaccia-qemu-667ad57b7636881eb79b0b319951f3cba9bbf27e.tar.gz
focaccia-qemu-667ad57b7636881eb79b0b319951f3cba9bbf27e.zip
net/passt: Initialize "error" variable in net_passt_send() (CID 1612368)
This was flagged by Coverity as a memory illegal access.

Initialize the pointer to NULL at declaration.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions