diff options
| author | Peter Maydell | 2012-08-29 09:52:37 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2012-08-29 15:23:40 +0200 |
| commit | 998a74bcda7f3297813732ddc2f28ffe5a12e37a (patch) | |
| tree | f781863c785802f41034381ebea8eafa3d38b1b2 /linux-headers | |
| parent | Merge remote-tracking branch 'bonzini/scsi-next' into staging (diff) | |
| download | qemu-998a74bcda7f3297813732ddc2f28ffe5a12e37a.tar.gz qemu-998a74bcda7f3297813732ddc2f28ffe5a12e37a.tar.xz qemu-998a74bcda7f3297813732ddc2f28ffe5a12e37a.zip | |
hw/arm_gic.c: Define .class_size in arm_gic_info TypeInfo
Add the missing .class_size definition to the arm_gic_info TypeInfo.
This fixes the memory corruption and possible segfault that otherwise
results when the class struct is allocated at too small a size and
the class init function writes off the end of it.
Reported-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions
