From: Roel Kluin Date: Tue, 22 Sep 2009 23:47:38 +0000 (-0700) Subject: drivers/video/console/newport_con.c: fix read outside array bounds X-Git-Tag: v2.6.32-rc1~198 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7a595e98c3140f1271957aa742a6b84407620d4;p=pandora-kernel.git 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 Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed