diff options
author | Emilio G. Cota <cota@braap.org> | 2018-04-10 10:47:12 -0400 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2018-05-09 10:12:21 -0700 |
commit | 4e8b44b6c2350e02ca8e410d40022122b4038bd5 (patch) | |
tree | 98cb0ea38733937b6f807207e044f46010f1ca64 /target/unicore32/translate.c | |
parent | 4302303d3c1f6f40b92791702f74d783a51ae60c (diff) |
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 'target/unicore32/translate.c')
0 files changed, 0 insertions, 0 deletions