Skip to content
Commit ee71c984 authored by Peter Maydell's avatar Peter Maydell Committed by Anthony Liguori
Browse files

hw/arm_timer.c: Fix bounds check for Integrator timer accesses



There are only three counter/timers on the integrator board:
correct the bounds check to avoid an array overrun. (Spotted
by Coverity, see bug 887883).

Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
parent afd4a652
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment