]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] vesafb: Fix color palette handling
authorAntonino A. Daplas <adaplas@gmail.com>
Mon, 7 Nov 2005 09:00:40 +0000 (01:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:51 +0000 (07:53 -0800)
commit3f2081b815b14aa783e12c90cacaa8e4042af81a
tree01e72b4d850432778e2620c152d1acec2a8a3851
parentb75e10360804d229d8757b1dca6e27194a3a2482
[PATCH] vesafb: Fix color palette handling

Fix out-of-bounds bug.  The pseudopalette has room only for 16 entries, thus,
write only the first 16 entries to the pseudopalette.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/vesafb.c