summaryrefslogtreecommitdiffstats
path: root/target-xtensa
diff options
context:
space:
mode:
authorStefan Weil2012-09-07 22:36:08 +0200
committerEdgar E. Iglesias2012-09-08 06:30:25 +0200
commitc001ed15f7bfeaa3cabde5c9cc79c4dfdb674769 (patch)
tree79ef155c305f3c5eed3e5b36ff1d76094bce31b8 /target-xtensa
parentMIPS/user: Fix reset CPU state initialization (diff)
downloadqemu-c001ed15f7bfeaa3cabde5c9cc79c4dfdb674769.tar.gz
qemu-c001ed15f7bfeaa3cabde5c9cc79c4dfdb674769.tar.xz
qemu-c001ed15f7bfeaa3cabde5c9cc79c4dfdb674769.zip
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>
Diffstat (limited to 'target-xtensa')
0 files changed, 0 insertions, 0 deletions