qemu-e2k/target-cris
Stefan Weil c001ed15f7 target-cris: Fix buffer overflow
Report from smatch:

target-cris/translate.c:3464 cpu_dump_state(32) error:
 buffer overflow 'env->sregs' 4 <= 255

sregs is declared 'uint32_t sregs[4][16]', so the first index must be
less than 4 or ARRAY_SIZE(env->sregs).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2012-09-08 06:30:25 +02:00
..
cpu-qom.h
cpu.c target-cris: Start QOM'ifying CPU init 2012-04-24 16:04:56 +02:00
cpu.h cris: Fix NMI-flag handling on crisv10. 2012-06-15 13:21:32 +02:00
crisv10-decode.h
crisv32-decode.h
helper.c cris: Fix NMI-flag handling on crisv10. 2012-06-15 13:21:32 +02:00
helper.h
machine.c
Makefile.objs build: move other target-*/ objects to nested Makefile.objs 2012-06-07 09:21:11 +02:00
mmu.c
mmu.h
op_helper.c cris: Fix NMI-flag handling on crisv10. 2012-06-15 13:21:32 +02:00
opcode-cris.h
translate_v10.c cris: Add break support for v10. 2012-06-14 15:29:11 +02:00
translate.c target-cris: Fix buffer overflow 2012-09-08 06:30:25 +02:00