summaryrefslogtreecommitdiff
path: root/hw/stellaris.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-22 08:57:19 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-22 08:57:19 +0000
commit969c77d557ed9355763eb91bc2e39d622b737ae0 (patch)
tree789fee0422ab51415bc833e44493253c3f47db2b /hw/stellaris.c
parentfd53f58866cbc4b95ea91397226893fb066e6079 (diff)
downloadqemu-969c77d557ed9355763eb91bc2e39d622b737ae0.tar.gz
qemu-969c77d557ed9355763eb91bc2e39d622b737ae0.tar.bz2
qemu-969c77d557ed9355763eb91bc2e39d622b737ae0.zip
array overflow in hw/stellaris.c and hw/omap_dss.c
(Jindrich Makovicka) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5064 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/stellaris.c')
-rw-r--r--hw/stellaris.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/stellaris.c b/hw/stellaris.c
index 999cb50593..93f751171e 100644
--- a/hw/stellaris.c
+++ b/hw/stellaris.c
@@ -1308,8 +1308,8 @@ static void stellaris_init(const char *kernel_filename, const char *cpu_model,
static const int gpio_irq[7] = {0, 1, 2, 3, 4, 30, 31};
qemu_irq *pic;
- qemu_irq *gpio_in[5];
- qemu_irq *gpio_out[5];
+ qemu_irq *gpio_in[7];
+ qemu_irq *gpio_out[7];
qemu_irq adc;
int sram_size;
int flash_size;