diff options
| author | Emilio G. Cota | 2018-04-10 16:47:28 +0200 |
|---|---|---|
| committer | Richard Henderson | 2018-05-09 19:12:21 +0200 |
| commit | 818c187781a0e9dcfd0cbaffd90c9485f2edcccd (patch) | |
| tree | 588ff81000fe5e06ee0156cabb4ba88bcb0eb394 /include/exec | |
| parent | target/xtensa: avoid integer overflow in next_page PC check (diff) | |
| download | qemu-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
