summaryrefslogtreecommitdiffstats
path: root/hw/qdev.c
diff options
context:
space:
mode:
authorMarkus Armbruster2009-10-07 01:16:00 +0200
committerAnthony Liguori2009-10-07 15:54:55 +0200
commitdde8bbb44de41ea68f9bede0a6a778ce046b2bcf (patch)
tree19331faf157f1c594fdba7ef9393b65142994bc7 /hw/qdev.c
parentMake isa_create() terminate program on failure (diff)
downloadqemu-dde8bbb44de41ea68f9bede0a6a778ce046b2bcf.tar.gz
qemu-dde8bbb44de41ea68f9bede0a6a778ce046b2bcf.tar.xz
qemu-dde8bbb44de41ea68f9bede0a6a778ce046b2bcf.zip
Warn if value of qdev_init() isn't checked
After qdev_init() fails, the device is gone. Failure to check runs a high risk of use-after-free. Patchworks-ID: 35166 Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/qdev.c')
0 files changed, 0 insertions, 0 deletions