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
..
2012-04-24 16:04:56 +02:00
2012-04-24 16:04:56 +02:00
2012-06-15 13:21:32 +02:00
2012-03-14 22:20:25 +01:00
2012-03-14 22:20:25 +01:00
2012-09-08 06:30:25 +02:00