diff options
author | Stefan Hajnoczi | 2021-11-02 17:33:42 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2021-11-11 09:13:05 +0100 |
commit | b66cecb238d065628b85a18357d28d21618a4580 (patch) | |
tree | 08b691bc04bec9002f245e485c8b3dafdd69cb44 /include/hw/virtio | |
parent | net/vhost-vdpa: fix memory leak in vhost_vdpa_get_max_queue_pairs() (diff) | |
download | qemu-b66cecb238d065628b85a18357d28d21618a4580.tar.gz qemu-b66cecb238d065628b85a18357d28d21618a4580.tar.xz 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 'include/hw/virtio')
0 files changed, 0 insertions, 0 deletions