summaryrefslogtreecommitdiffstats
path: root/hw/net/stellaris_enet.c
diff options
context:
space:
mode:
authorPeter Maydell2014-02-26 18:19:57 +0100
committerPeter Maydell2014-02-26 18:19:57 +0100
commitec1efab95767312ff4afb816d0d4b548e093b031 (patch)
tree1e9223fb627f164f7be8badbb33e3559c6330b1e /hw/net/stellaris_enet.c
parentxilinx: Delete hw/include/xilinx.h (diff)
downloadqemu-ec1efab95767312ff4afb816d0d4b548e093b031.tar.gz
qemu-ec1efab95767312ff4afb816d0d4b548e093b031.tar.xz
qemu-ec1efab95767312ff4afb816d0d4b548e093b031.zip
hw/misc/arm_sysctl: Fix bad boundary check on mb clock accesses
Fix incorrect use of sizeof() rather than ARRAY_SIZE() to guard accesses into the mb_clock[] array, which was allowing a malicious guest to overwrite the end of the array. 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-2-git-send-email-peter.maydell@linaro.org Cc: qemu-stable@nongnu.org
Diffstat (limited to 'hw/net/stellaris_enet.c')
0 files changed, 0 insertions, 0 deletions