commit | f7a595e98c3140f1271957aa742a6b84407620d4 | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Tue Sep 22 16:47:38 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Sep 23 07:39:56 2009 -0700 |
tree | e0566fee9bcebfc681d635fd430ccac87604e611 | |
parent | db8df7b0622cc6ddad993da2e4dfaf3b5d98ee30 [diff] |
drivers/video/console/newport_con.c: fix read outside array bounds It reads linetable[] before checking bounds of index, and ARRAY_SIZE is required because linetable[] are unsigned shorts. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Cc: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>