summaryrefslogtreecommitdiffstats
path: root/drivers/video/console/fbcon_rotate.h
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-09-22 16:47:38 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 07:39:56 -0700
commitf7a595e98c3140f1271957aa742a6b84407620d4 (patch)
treee0566fee9bcebfc681d635fd430ccac87604e611 /drivers/video/console/fbcon_rotate.h
parentdb8df7b0622cc6ddad993da2e4dfaf3b5d98ee30 (diff)
downloadlinux-f7a595e98c3140f1271957aa742a6b84407620d4.tar.gz
linux-f7a595e98c3140f1271957aa742a6b84407620d4.tar.bz2
linux-f7a595e98c3140f1271957aa742a6b84407620d4.zip
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>
Diffstat (limited to 'drivers/video/console/fbcon_rotate.h')
0 files changed, 0 insertions, 0 deletions