summary refs log tree commit diff stats
path: root/hw/core/qdev-properties-system.c
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 /hw/core/qdev-properties-system.c
parent4302303d3c1f6f40b92791702f74d783a51ae60c (diff)
downloadfocaccia-qemu-4e8b44b6c2350e02ca8e410d40022122b4038bd5.tar.gz
focaccia-qemu-4e8b44b6c2350e02ca8e410d40022122b4038bd5.zip
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 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions