summaryrefslogtreecommitdiffstats
path: root/target/arm/kvm_arm.h
diff options
context:
space:
mode:
authorEmilio G. Cota2018-04-10 17:09:52 +0200
committerRichard Henderson2018-05-09 19:12:21 +0200
commitbfe7ad5be77a6a8925a7ab1628452c8942222102 (patch)
treec7d530eeee4dee001046971a67e0a032ad7a4343 /target/arm/kvm_arm.h
parenttarget/microblaze: avoid integer overflow in next_page PC check (diff)
downloadqemu-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