diff options
| author | Nils Wallménius <nils@rockbox.org> | 2009-08-06 19:02:59 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2009-08-06 19:02:59 +0000 |
| commit | c80f6dad303da248d7fe7d1acbe5916a06e3f73d (patch) | |
| tree | bb9c1918c50266e4368ed53926b17daea9c2a3ea /apps/plugins/matrix.c | |
| parent | 2cab3116356e377fe0c3073ce679b69478553565 (diff) | |
| download | rockbox-c80f6dad303da248d7fe7d1acbe5916a06e3f73d.zip rockbox-c80f6dad303da248d7fe7d1acbe5916a06e3f73d.tar.gz rockbox-c80f6dad303da248d7fe7d1acbe5916a06e3f73d.tar.bz2 rockbox-c80f6dad303da248d7fe7d1acbe5916a06e3f73d.tar.xz | |
Fix out of bounds accesses in keybox and matrix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22191 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/matrix.c')
| -rw-r--r-- | apps/plugins/matrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/matrix.c b/apps/plugins/matrix.c index 84a333e..12ec4e9 100644 --- a/apps/plugins/matrix.c +++ b/apps/plugins/matrix.c @@ -283,7 +283,7 @@ static void matrix_loop(void) if (i > ROWS) { matrix[z][j].val = 129; - matrix[ROWS][j].bold = 1; + matrix[ROWS - 1][j].bold = 1; matrix_blit_char(z - 1, j, matrix[z][j].val); continue; } |