summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorEmilio G. Cota2018-04-10 17:13:54 +0200
committerRichard Henderson2018-05-09 19:12:21 +0200
commit6cd79443d33e6ba6b4c5b787eb713ca1cec56328 (patch)
tree469a17801bb5ae04fe4903acaa6f00e5cdeb4e82 /include/exec
parenttarget/s390x: avoid integer overflow in next_page PC check (diff)
downloadqemu-6cd79443d33e6ba6b4c5b787eb713ca1cec56328.tar.gz
qemu-6cd79443d33e6ba6b4c5b787eb713ca1cec56328.tar.xz
qemu-6cd79443d33e6ba6b4c5b787eb713ca1cec56328.zip
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 'include/exec')
0 files changed, 0 insertions, 0 deletions