summaryrefslogtreecommitdiff
path: root/target/alpha/translate.c
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2018-04-10 11:13:54 -0400
committerRichard Henderson <richard.henderson@linaro.org>2018-05-09 10:12:21 -0700
commit6cd79443d33e6ba6b4c5b787eb713ca1cec56328 (patch)
tree469a17801bb5ae04fe4903acaa6f00e5cdeb4e82 /target/alpha/translate.c
parent071bd2b628cedbb640be8ca6c25d1949b2e6fe4a (diff)
downloadqemu-6cd79443d33e6ba6b4c5b787eb713ca1cec56328.tar.gz
target/mips: 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: Aurelien Jarno <aurelien@aurel32.net> Cc: Yongbok Kim <yongbok.kim@mips.com> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/alpha/translate.c')
0 files changed, 0 insertions, 0 deletions