diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-02-26 17:19:58 +0000 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2014-02-27 09:37:58 -0600 |
commit | 5444df15819cc1fa5a95876967d726b80f594e31 (patch) | |
tree | e8ab90ed88b44cd3edfffa5a8e2516eedb49413f /hw/intc/ioapic_common.c | |
parent | e498311693377ee6aa599a37c643d364f7072170 (diff) |
hw/timer/arm_timer: Avoid array overrun for bad addresses
The integrator's timer read/write functions log an error for
bad addresses in guest accesses, but were falling through and
using an out of bounds array index rather than returning early.
Fix this.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Message-id: 1392647854-8067-4-git-send-email-peter.maydell@linaro.org
Cc: qemu-stable@nongnu.org
(cherry picked from commit cba933b2257ef0ad241756a0ff86bc0acda685ca)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'hw/intc/ioapic_common.c')
0 files changed, 0 insertions, 0 deletions