]> Git Repo - qemu.git/commit
target/cris: avoid integer overflow in next_page PC check
authorEmilio G. Cota <[email protected]>
Tue, 10 Apr 2018 14:46:45 +0000 (10:46 -0400)
committerRichard Henderson <[email protected]>
Wed, 9 May 2018 17:12:21 +0000 (10:12 -0700)
commit3ac5e413c00511d10d69b8b55fc06cc0c54bd45f
tree475bbefafd87930cff62b0f799701b91fee7e0f9
parent33572269a54ba6339ce00537abfa434e4ffc95c2
target/cris: 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 <[email protected]>
Cc: "Edgar E. Iglesias" <[email protected]>
Signed-off-by: Emilio G. Cota <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
target/cris/translate.c
This page took 0.023369 seconds and 4 git commands to generate.