diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-22 08:57:19 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-22 08:57:19 +0000 |
commit | f3d8b1eb105199a1d6bf063a8a574e782689909a (patch) | |
tree | 789fee0422ab51415bc833e44493253c3f47db2b /hw/omap_dss.c | |
parent | 563e3c6e6e47536bdaad277ec545e27ee0594c41 (diff) |
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/omap_dss.c')
-rw-r--r-- | hw/omap_dss.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/omap_dss.c b/hw/omap_dss.c index 13ca94bd1f..ba7153f29b 100644 --- a/hw/omap_dss.c +++ b/hw/omap_dss.c @@ -53,7 +53,7 @@ struct omap_dss_s { uint32_t control; uint32_t config; uint32_t capable; - uint32_t timing[3]; + uint32_t timing[4]; int line; uint32_t bg[2]; uint32_t trans[2]; @@ -148,6 +148,7 @@ void omap_dss_reset(struct omap_dss_s *s) s->dispc.timing[0] = 0; s->dispc.timing[1] = 0; s->dispc.timing[2] = 0; + s->dispc.timing[3] = 0; s->dispc.line = 0; s->dispc.bg[0] = 0; s->dispc.bg[1] = 0; |