diff options
author | Emilio G. Cota | 2018-04-10 17:09:52 +0200 |
---|---|---|
committer | Richard Henderson | 2018-05-09 19:12:21 +0200 |
commit | bfe7ad5be77a6a8925a7ab1628452c8942222102 (patch) | |
tree | c7d530eeee4dee001046971a67e0a032ad7a4343 /target/arm/kvm_arm.h | |
parent | target/microblaze: avoid integer overflow in next_page PC check (diff) | |
download | qemu-bfe7ad5be77a6a8925a7ab1628452c8942222102.tar.gz qemu-bfe7ad5be77a6a8925a7ab1628452c8942222102.tar.xz qemu-bfe7ad5be77a6a8925a7ab1628452c8942222102.zip |
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/arm/kvm_arm.h')
0 files changed, 0 insertions, 0 deletions