]> Git Repo - qemu.git/commit
qom: Assert instance size in object_initialize_with_type()
authorAndreas Färber <[email protected]>
Fri, 30 Aug 2013 16:28:37 +0000 (18:28 +0200)
committerAndreas Färber <[email protected]>
Fri, 30 Aug 2013 19:15:44 +0000 (21:15 +0200)
commit5b9237f67c499fa4e20bb9bd29c7ce54afe79cb7
tree75051804a1fb76cee27d23e437ad49a30228323c
parent213f0c4f619dda7a56612353009e6f30d3348206
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 <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
include/qom/object.h
qom/object.c
This page took 0.026021 seconds and 4 git commands to generate.