Re: [Qemu-devel] [PATCH 07/38] xilinx: fix buffer overflow on realize

2016-10-23 Thread Paolo Bonzini
On 22/10/2016 11:52, Marc-André Lureau wrote: > Signed-off-by: Marc-André Lureau > --- > hw/ssi/xilinx_spips.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/ssi/xilinx_spips.c b/hw/ssi/xilinx_spips.c > index e2b77dc..ab7fa6f 100644 >

[Qemu-devel] [PATCH 07/38] xilinx: fix buffer overflow on realize

2016-10-22 Thread Marc-André Lureau
ASAN complains about buffer overflow when running: aarch64-softmmu/qemu-system-aarch64 -machine xilinx-zynq-a9 ==476==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60235e38 at pc 0x00f75253 bp 0x7ffc597e0ec0 sp 0x7ffc597e0eb0 READ of size 8 at 0x60235e38 thread T0 #0