summaryrefslogtreecommitdiff
path: root/drivers/video/offb.c
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2007-07-17 04:05:37 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 10:23:12 -0700
commit24fc72239ab5a2d26ebdd4f6950539e6120d1a54 (patch)
tree4725301358a10bfd94e3616efbe519c5ef107cff /drivers/video/offb.c
parent9058be43cf9f32b6c636aa6954b4f1a6b22098f6 (diff)
macfb: fix pseudo_palette 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/offb.c')
0 files changed, 0 insertions, 0 deletions