]> err.no Git - linux-2.6/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)
commiteba50850458cf6e907b6b751cb18711666819406
tree01e72b4d850432778e2620c152d1acec2a8a3851
parentb4d8aea6d66aabc1d79aaeb1ecc90562abb8f575
[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