summaryrefslogtreecommitdiffstats
path: root/drivers/video/matrox/matroxfb_base.c
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2007-07-17 13:05:44 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 19:23:13 +0200
commit000d5335c6e7f5dbcd849b62b4be7ae005aa6974 (patch)
treeaf6894791cc9fbd7dd38ac2ec0026be0f1a75a42 /drivers/video/matrox/matroxfb_base.c
parentintelfb: the pseudo_palette is only 16 elements long (diff)
downloadlinux-000d5335c6e7f5dbcd849b62b4be7ae005aa6974.tar.xz
linux-000d5335c6e7f5dbcd849b62b4be7ae005aa6974.zip
sisfb: fix pseudo_palette array size and overrun
- the pseudo_palette is only 16 elements long. - do not write to the pseudo_palette if regno (array index) is more than 15. Signed-off-by: Antonino Daplas <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/matrox/matroxfb_base.c')
0 files changed, 0 insertions, 0 deletions