From: Antonino A. Daplas Date: Tue, 17 Jul 2007 11:05:35 +0000 (-0700) Subject: cyblafb: fix pseudo_palette array overrun in setcolreg X-Git-Tag: v2.6.23-rc1~583 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7592181005261c3d90398375ab6922f56cdd2bad;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed