commit | 973d9ab231a6b9feb1ff5b9a072f11756eca96cc | [log] [tgz] |
---|---|---|
author | Antonino A. Daplas <adaplas@gmail.com> | Tue Jul 17 04:05:41 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Tue Jul 17 10:23:12 2007 -0700 |
tree | fefef9f4bd86989579a8b6496dfc09faba19acf8 | |
parent | eb3daa83c2f63743fb7597f620beac75e1ba5633 [diff] |
tridentfb: 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 <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>