diff options
author | Andreas Färber <afaerber@suse.de> | 2013-08-30 18:28:37 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-08-30 21:15:44 +0200 |
commit | 5b9237f67c499fa4e20bb9bd29c7ce54afe79cb7 (patch) | |
tree | 75051804a1fb76cee27d23e437ad49a30228323c /dump.c | |
parent | 213f0c4f619dda7a56612353009e6f30d3348206 (diff) |
qom: Assert instance size in object_initialize_with_type()
This catches objects initializing beyond allocated memory, e.g.,
when subtypes get extended with instance state of their own.
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'dump.c')
0 files changed, 0 insertions, 0 deletions