summaryrefslogtreecommitdiffstats
path: root/drivers/video/epson1355fb.c
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2007-07-17 13:05:35 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 19:23:12 +0200
commit7592181005261c3d90398375ab6922f56cdd2bad (patch)
tree9ca5d040ec5bd2258553af8e3f2ef8d14e5db316 /drivers/video/epson1355fb.c
parentcontrolfb: the pseudo_palette is only 16 elements long (diff)
downloadlinux-7592181005261c3d90398375ab6922f56cdd2bad.tar.xz
linux-7592181005261c3d90398375ab6922f56cdd2bad.zip
cyblafb: fix pseudo_palette array overrun in setcolreg
The pseudo_palette has only 16 elements. Do not write if regno (the 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/epson1355fb.c')
0 files changed, 0 insertions, 0 deletions