summaryrefslogtreecommitdiff
path: root/target/lm32/translate.c
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2018-04-10 10:46:45 -0400
committerRichard Henderson <richard.henderson@linaro.org>2018-05-09 10:12:21 -0700
commit3ac5e413c00511d10d69b8b55fc06cc0c54bd45f (patch)
tree475bbefafd87930cff62b0f799701b91fee7e0f9 /target/lm32/translate.c
parent33572269a54ba6339ce00537abfa434e4ffc95c2 (diff)
downloadqemu-3ac5e413c00511d10d69b8b55fc06cc0c54bd45f.tar.gz
target/cris: avoid integer overflow in next_page PC check
If the PC is in the last page of the address space, next_page_start overflows to 0. Fix it. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/lm32/translate.c')
0 files changed, 0 insertions, 0 deletions