commit | dde8bbb44de41ea68f9bede0a6a778ce046b2bcf | [log] [tgz] |
---|---|---|
author | Markus Armbruster <armbru@redhat.com> | Wed Oct 07 01:16:00 2009 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Wed Oct 07 08:54:55 2009 -0500 |
tree | 19331faf157f1c594fdba7ef9393b65142994bc7 | |
parent | 3f66aa9c07d6392757f9d7b83849c7f791981725 [diff] |
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>