xemu/hw/timer
Peter Maydell 5444df1581 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 cba933b225)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2014-02-27 09:37:58 -06:00
..
Makefile.objs timer/arm_mptimer: Build arm_mptimer only once 2013-07-09 21:33:02 +02:00
arm_mptimer.c a9mpcore: Embed ARMMPTimerState 2013-11-05 17:47:29 +01:00
arm_timer.c hw/timer/arm_timer: Avoid array overrun for bad addresses 2014-02-27 09:37:58 -06:00
cadence_ttc.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
ds1338.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
etraxfs_timer.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
exynos4210_mct.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
exynos4210_pwm.c aio / timers: Untangle include files 2013-08-22 19:10:27 +02:00
exynos4210_rtc.c misc: Fix some typos in names and comments 2013-09-01 18:59:24 +04:00
grlib_gptimer.c aio / timers: Untangle include files 2013-08-22 19:10:27 +02:00
hpet.c hpet: fix build with CONFIG_HPET off 2014-02-21 00:34:39 -06:00
i8254.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
i8254_common.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
imx_epit.c aio / timers: Untangle include files 2013-08-22 19:10:27 +02:00
imx_gpt.c aio / timers: Untangle include files 2013-08-22 19:10:27 +02:00
lm32_timer.c aio / timers: Untangle include files 2013-08-22 19:10:27 +02:00
m48t59.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
mc146818rtc.c rtc: remove dead SQW IRQ code 2013-11-05 20:04:03 -08:00
milkymist-sysctl.c milkymist-sysctl: QOM cast cleanup 2013-07-29 21:07:01 +02:00
omap_gptimer.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
omap_synctimer.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
pl031.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
puv3_ost.c aio / timers: Untangle include files 2013-08-22 19:10:27 +02:00
pxa2xx_timer.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
sh_timer.c aio / timers: Untangle include files 2013-08-22 19:10:27 +02:00
slavio_timer.c aio / timers: Untangle include files 2013-08-22 19:10:27 +02:00
tusb6010.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
twl92230.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
xilinx_timer.c aio / timers: Untangle include files 2013-08-22 19:10:27 +02:00