diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-02-26 17:19:58 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-02-26 17:19:58 +0000 |
commit | cba933b2257ef0ad241756a0ff86bc0acda685ca (patch) | |
tree | 35868822a83885717fbba7376769024a54b62e56 /target-arm | |
parent | 106a73b6d200035c5156f90b5f9b6a53d3adb43b (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
Diffstat (limited to 'target-arm')
0 files changed, 0 insertions, 0 deletions