Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: c001ed15f7bfeaa3cabde5c9cc79c4dfdb674769 https://github.com/qemu/qemu/commit/c001ed15f7bfeaa3cabde5c9cc79c4dfdb674769 Author: Stefan Weil <s...@weilnetz.de> Date: 2012-09-07 (Fri, 07 Sep 2012)
Changed paths: M target-cris/translate.c Log Message: ----------- 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 <s...@weilnetz.de>