Skip to content
Snippets Groups Projects
Commit 5b9237f6 authored by Andreas Färber's avatar Andreas Färber
Browse files

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: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
parent 213f0c4f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment