mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Fix out of bounds accesses in keybox and matrix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22191 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2cab311635
commit
c80f6dad30
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue