diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-09-04 07:35:57 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2012-09-10 15:00:06 +0200 |
commit | 599d64f6dc10f267a45e7abebfcafd8e7626585b (patch) | |
tree | f76150a6f2b636151852b78bdac3fd65114ab1a0 /cputlb.h | |
parent | 149eeb5fe57b853081e8059575d91b8a58a4f96c (diff) |
target-arm: Fix potential buffer overflow
Report from smatch:
target-arm/helper.c:651 arm946_prbs_read(6) error:
buffer overflow 'env->cp15.c6_region' 8 <= 8
target-arm/helper.c:661 arm946_prbs_write(6) error:
buffer overflow 'env->cp15.c6_region' 8 <= 8
c7_region is an array with 8 elements, so the index must be less than 8.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'cputlb.h')
0 files changed, 0 insertions, 0 deletions