diff options
author | Emilio G. Cota <cota@braap.org> | 2018-04-10 11:13:54 -0400 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2018-05-09 10:12:21 -0700 |
commit | 6cd79443d33e6ba6b4c5b787eb713ca1cec56328 (patch) | |
tree | 469a17801bb5ae04fe4903acaa6f00e5cdeb4e82 /qemu.sasl | |
parent | 071bd2b628cedbb640be8ca6c25d1949b2e6fe4a (diff) | |
download | qemu-6cd79443d33e6ba6b4c5b787eb713ca1cec56328.zip qemu-6cd79443d33e6ba6b4c5b787eb713ca1cec56328.tar.gz qemu-6cd79443d33e6ba6b4c5b787eb713ca1cec56328.tar.bz2 |
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 'qemu.sasl')
0 files changed, 0 insertions, 0 deletions