summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2018-04-10 10:47:12 -0400
committerRichard Henderson <richard.henderson@linaro.org>2018-05-09 10:12:21 -0700
commit4e8b44b6c2350e02ca8e410d40022122b4038bd5 (patch)
tree98cb0ea38733937b6f807207e044f46010f1ca64 /scripts
parent4302303d3c1f6f40b92791702f74d783a51ae60c (diff)
downloadqemu-4e8b44b6c2350e02ca8e410d40022122b4038bd5.tar.gz
target/xtensa: 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: Max Filippov <jcmvbkbc@gmail.com> Cc: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions