[Qemu-devel] [PATCH 0/2] object_initialize: check size of passed in memory

2013-08-23 Thread Peter Maydell
This patchset addresses a concern that came up with Andreas' recent patches for using embedded objects in some of the ARM CPU devices: object_initialize() doesn't check that there's actually enough space for the type being added, so if you have: struct MyDevice { ... SomeObject obj; };

Re: [Qemu-devel] [PATCH 0/2] object_initialize: check size of passed in memory

2013-08-23 Thread Andreas Färber
Am 23.08.2013 15:38, schrieb Peter Maydell: This patchset addresses a concern that came up with Andreas' recent patches for using embedded objects in some of the ARM CPU devices: object_initialize() doesn't check that there's actually enough space for the type being added, so if you have: