Stefan Weil a32354e206 hw/mcf5206: Fix buffer overflow for MBAR read / write
Report from smatch:

mcf5206.c:384 m5206_mbar_readb(7) error: buffer overflow 'm5206_mbar_width' 128 <= 128
mcf5206.c:403 m5206_mbar_readw(8) error: buffer overflow 'm5206_mbar_width' 128 <= 128
mcf5206.c:427 m5206_mbar_readl(8) error: buffer overflow 'm5206_mbar_width' 128 <= 128
mcf5206.c:451 m5206_mbar_writeb(9) error: buffer overflow 'm5206_mbar_width' 128 <= 128
mcf5206.c:475 m5206_mbar_writew(9) error: buffer overflow 'm5206_mbar_width' 128 <= 128
mcf5206.c:503 m5206_mbar_writel(9) error: buffer overflow 'm5206_mbar_width' 128 <= 128

m5206_mbar_width has 0x80 elements and supports 0 <= offset < 0x200.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2012-09-10 15:03:05 +02:00
2012-06-21 20:04:24 +00:00
2012-08-09 18:34:57 +00:00
2012-08-28 20:38:39 +02:00
2012-08-20 11:05:08 -03:00
2012-08-13 16:10:18 -03:00
2012-08-28 20:38:39 +02:00
2012-08-06 19:31:55 -05:00
2012-08-30 16:36:21 -05:00
2012-07-07 09:04:42 +00:00
2012-04-19 16:51:47 +02:00
2012-08-04 15:51:23 +00:00
2012-08-13 13:20:50 -03:00
2012-05-14 07:27:24 +02:00
2012-03-12 10:30:23 +00:00
2012-08-14 19:01:26 +00:00
2012-08-02 18:12:17 +02:00
2012-03-30 08:14:11 -05:00
2012-08-15 15:18:54 +01:00
2012-03-07 13:03:51 +00:00
2012-04-01 20:30:23 +02:00
2012-03-14 22:20:27 +01:00
2012-08-16 13:41:16 -05:00
2012-07-28 09:23:11 +00:00
2012-03-14 22:20:27 +01:00
2012-08-13 14:17:53 -03:00
2012-06-25 15:37:15 +02:00
2012-07-27 21:13:04 +00:00
2012-03-14 22:20:27 +01:00
2012-05-08 14:30:09 -03:00
2012-08-21 15:16:29 -05:00
2012-03-19 15:17:21 +02:00
2012-05-10 08:33:34 -05:00
2012-09-08 09:09:06 +00:00
2012-03-15 10:39:52 -03:00
2012-08-08 13:51:12 +02:00
2012-08-03 18:28:37 -05:00
2012-07-10 18:27:33 +02:00
2012-08-08 13:51:12 +02:00
2012-04-07 14:00:45 +00:00
2012-07-14 11:53:03 +00:00
2012-07-14 11:53:03 +00:00
2012-04-15 21:25:16 +02:00
2012-04-07 14:00:45 +00:00
2012-08-16 13:41:16 -05:00
2012-08-16 13:41:16 -05:00
2012-08-13 14:17:53 -03:00
2012-08-13 14:17:53 -03:00
2012-08-16 13:41:15 -05:00
2012-08-16 13:41:15 -05:00
2012-04-24 09:50:31 -05:00
2012-06-22 10:34:21 +01:00
2012-08-09 18:34:57 +00:00
2012-09-05 11:44:53 -05:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
QEMU With E2K User Support
Readme 459 MiB
Languages
C 83.1%
C++ 6.3%
Python 3.2%
Dylan 2.8%
Shell 1.6%
Other 2.8%