summary refs log tree commit diff stats
path: root/hw/net/vhost_net.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2021-11-02 16:33:42 +0000
committerMichael S. Tsirkin <mst@redhat.com>2021-11-11 03:13:05 -0500
commitb66cecb238d065628b85a18357d28d21618a4580 (patch)
tree08b691bc04bec9002f245e485c8b3dafdd69cb44 /hw/net/vhost_net.c
parentcd523a4181b152004fc0aed18381aefe600ac38e (diff)
downloadfocaccia-qemu-b66cecb238d065628b85a18357d28d21618a4580.tar.gz
focaccia-qemu-b66cecb238d065628b85a18357d28d21618a4580.zip
softmmu/qdev-monitor: fix use-after-free in qdev_set_id()
Reported by Coverity (CID 1465222).

Fixes: 4a1d937796de0fecd8b22d7dbebf87f38e8282fd ("softmmu/qdev-monitor: add error handling in qdev_set_id")
Cc: Damien Hedde <damien.hedde@greensocs.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20211102163342.31162-1-stefanha@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Damien Hedde <damien.hedde@greensocs.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/net/vhost_net.c')
0 files changed, 0 insertions, 0 deletions