]> git.proxmox.com Git - mirror_qemu.git/commit - ui/vnc.c
qom: Crash more nicely on object_property_get_link() failure
authorMarkus Armbruster <armbru@redhat.com>
Tue, 7 Jul 2020 16:05:51 +0000 (18:05 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 10 Jul 2020 13:18:08 +0000 (15:18 +0200)
commit552d7f49eebdb1c84ab6dc7d93bd152fd885af31
treeba2ab90bff80624c63ee6c9bef8440e1e47d48f1
parent90c69fb9fdd71f5e615145fd1dc43cdef61737b3
qom: Crash more nicely on object_property_get_link() failure

Pass &error_abort instead of NULL where the returned value is
dereferenced or asserted to be non-null.  Drop a now redundant
assertion.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20200707160613.848843-24-armbru@redhat.com>
hw/core/platform-bus.c
hw/ppc/spapr_drc.c
hw/ppc/spapr_hcall.c
hw/ppc/spapr_pci_nvlink2.c
ui/vnc.c