From: Antonino A. Daplas Date: Tue, 17 Jul 2007 11:05:39 +0000 (-0700) Subject: pvr2fb: fix pseudo_palette array overrun and typecast X-Git-Tag: v2.6.23-rc1~576 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a66ad56eb2c9644717da4d7f05f971d6786145e3;p=pandora-kernel.git pvr2fb: fix pseudo_palette array overrun and typecast - the pseudo_palette has only 16 elements. Do not write if regno (the array index) is more than 15. - if using generic drawing libraries, the typecast of pseudo_palette is always u32 * Signed-off-by: Antonino Daplas Acked-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed