summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorEmilio G. Cota2018-04-10 16:47:28 +0200
committerRichard Henderson2018-05-09 19:12:21 +0200
commit818c187781a0e9dcfd0cbaffd90c9485f2edcccd (patch)
tree588ff81000fe5e06ee0156cabb4ba88bcb0eb394 /include/exec
parenttarget/xtensa: avoid integer overflow in next_page PC check (diff)
downloadqemu-818c187781a0e9dcfd0cbaffd90c9485f2edcccd.tar.gz
qemu-818c187781a0e9dcfd0cbaffd90c9485f2edcccd.tar.xz
qemu-818c187781a0e9dcfd0cbaffd90c9485f2edcccd.zip
target/unicore32: 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: Guan Xuetao <gxt@mprc.pku.edu.cn> 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