xemu/hw/pci-host
Peter Maydell 58d479786b hw/pci-host/bonito: Avoid buffer overrun for bad LDMA/COP accesses
The LDMA and COP memory regions represent four 32 bit registers
each, but the memory regions themselves are 0x100 bytes large.
Add guards to the read and write accessors so that bogus accesses
beyond the four defined registers don't just run off the end of
the bonldma and boncop structs and into whatever lies beyond.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
2015-08-13 16:22:53 +01:00
..
apb.c Switch non-CPU callers from ld/st*_phys to address_space_ld/st* 2015-04-26 16:49:24 +01:00
bonito.c hw/pci-host/bonito: Avoid buffer overrun for bad LDMA/COP accesses 2015-08-13 16:22:53 +01:00
gpex.c pci: Add generic PCIe host bridge 2015-02-13 05:46:07 +00:00
grackle.c pci: Trivial device model conversions to realize 2015-02-26 12:42:16 +01:00
Makefile.objs pci: Add generic PCIe host bridge 2015-02-13 05:46:07 +00:00
pam.c hw/i386: remove smram_update 2015-06-05 17:36:39 +02:00
piix.c piix: piix3 QOMify 2015-06-23 19:57:28 +03:00
ppce500.c pci: Trivial device model conversions to realize 2015-02-26 12:42:16 +01:00
prep.c exec.c: Make address_space_rw take transaction attributes 2015-04-26 16:49:24 +01:00
q35.c q35: implement TSEG 2015-06-05 19:45:13 +02:00
uninorth.c uninorth: convert ffs(3) to ctz32() 2015-04-28 15:36:08 +02:00
versatile.c pci: Trivial device model conversions to realize 2015-02-26 12:42:16 +01:00