summaryrefslogtreecommitdiff
path: root/CODING_STYLE
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2018-04-10 10:46:58 -0400
committerRichard Henderson <richard.henderson@linaro.org>2018-05-09 10:12:21 -0700
commit4302303d3c1f6f40b92791702f74d783a51ae60c (patch)
tree3353637fb3fefc65c019932ddee2595da32bf9d5 /CODING_STYLE
parent3ac5e413c00511d10d69b8b55fc06cc0c54bd45f (diff)
downloadqemu-4302303d3c1f6f40b92791702f74d783a51ae60c.tar.gz
target/lm32: 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> Acked-by: Michael Walle <michael@walle.cc> Cc: Michael Walle <michael@walle.cc> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'CODING_STYLE')
0 files changed, 0 insertions, 0 deletions