commit | 7592181005261c3d90398375ab6922f56cdd2bad | [log] [tgz] |
---|---|---|
author | Antonino A. Daplas <adaplas@gmail.com> | Tue Jul 17 04:05:35 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Tue Jul 17 10:23:12 2007 -0700 |
tree | 9ca5d040ec5bd2258553af8e3f2ef8d14e5db316 | |
parent | 11494543a5775b4764d0172084092715a533a8ce [diff] |
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 <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>