« Previous | Next » 

Revision 5b9237f6

ID5b9237f67c499fa4e20bb9bd29c7ce54afe79cb7

Added by Andreas Färber over 10 years ago

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 <>
Signed-off-by: Andreas Färber <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences