qemu-e2k/include/qapi/qmp
Eric Blake cc9f60d4a2 qobject: Protect against use-after-free in qobject_decref()
Adding an assertion to qobject_decref() will ensure that a
programming error causing use-after-free will result in
immediate failure (provided no other thread has started
using the memory) instead of silently attempting to wrap
refcnt around and leaving the problem to potentially bite
later at a harder point to diagnose.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1446791754-23823-4-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-11-09 16:45:05 +01:00
..
dispatch.h qmp hmp: Consistently name Error * objects err, and not errp 2014-05-08 14:20:00 -04:00
json-lexer.h qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
json-parser.h qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
json-streamer.h qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
qbool.h qobject: Drop QObject_HEAD 2015-10-29 14:34:44 +01:00
qdict.h qobject: Drop QObject_HEAD 2015-10-29 14:34:44 +01:00
qerror.h replay: replay blockers for devices 2015-11-06 10:16:03 +01:00
qfloat.h qobject: Drop QObject_HEAD 2015-10-29 14:34:44 +01:00
qint.h qobject: Drop QObject_HEAD 2015-10-29 14:34:44 +01:00
qjson.h qjson.h: Remove spurious GCC_FMT_ATTR markup from qobject_from_json() declaration 2014-03-03 09:45:46 +04:00
qlist.h qobject: Drop QObject_HEAD 2015-10-29 14:34:44 +01:00
qobject.h qobject: Protect against use-after-free in qobject_decref() 2015-11-09 16:45:05 +01:00
qstring.h qobject: Drop QObject_HEAD 2015-10-29 14:34:44 +01:00
types.h qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00