summaryrefslogtreecommitdiff
path: root/target/s390x/translate.c
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2018-04-10 11:09:52 -0400
committerRichard Henderson <richard.henderson@linaro.org>2018-05-09 10:12:21 -0700
commitbfe7ad5be77a6a8925a7ab1628452c8942222102 (patch)
treec7d530eeee4dee001046971a67e0a032ad7a4343 /target/s390x/translate.c
parent56371527f3f8d33be651046700d72489f4df505f (diff)
downloadqemu-bfe7ad5be77a6a8925a7ab1628452c8942222102.tar.gz
target/arm: 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: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/s390x/translate.c')
0 files changed, 0 insertions, 0 deletions