aboutsummaryrefslogtreecommitdiff
path: root/json-streamer.h
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-09-07 22:36:08 +0200
committerMichael Roth <mdroth@linux.vnet.ibm.com>2012-10-09 01:42:06 -0500
commit631287933e55adc272c57a6f8b3c09801c10c603 (patch)
treee0a27818b62410302d65d7343abc4d74c753083f /json-streamer.h
parent814395979efbca6b5f0ec83f7c6a77d9fba22427 (diff)
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> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'json-streamer.h')
0 files changed, 0 insertions, 0 deletions