diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2021-11-15 15:54:09 +0100 |
---|---|---|
committer | Hanna Reitz <hreitz@redhat.com> | 2021-11-16 11:22:26 +0100 |
commit | c9d4e42a8febe4db22eed8463087b38c3c74fd4c (patch) | |
tree | b14ff4b77e4cfeaad7c212b264204e50954d670e /qom/trace.h | |
parent | 4d8b0f0a95361b1a3888f3eb3f76b27420383753 (diff) | |
download | qemu-c9d4e42a8febe4db22eed8463087b38c3c74fd4c.zip qemu-c9d4e42a8febe4db22eed8463087b38c3c74fd4c.tar.gz qemu-c9d4e42a8febe4db22eed8463087b38c3c74fd4c.tar.bz2 |
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: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@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>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20211115145409.176785-14-kwolf@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Diffstat (limited to 'qom/trace.h')
0 files changed, 0 insertions, 0 deletions