diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2007-07-17 04:05:37 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 10:23:12 -0700 |
commit | 24fc72239ab5a2d26ebdd4f6950539e6120d1a54 (patch) | |
tree | 4725301358a10bfd94e3616efbe519c5ef107cff /drivers/video/atafb_utils.h | |
parent | 9058be43cf9f32b6c636aa6954b4f1a6b22098f6 (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/atafb_utils.h')
0 files changed, 0 insertions, 0 deletions