diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2007-07-17 04:05:35 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 10:23:12 -0700 |
commit | 7592181005261c3d90398375ab6922f56cdd2bad (patch) | |
tree | 9ca5d040ec5bd2258553af8e3f2ef8d14e5db316 /lib/crc7.c | |
parent | 11494543a5775b4764d0172084092715a533a8ce (diff) | |
download | blackbird-op-linux-7592181005261c3d90398375ab6922f56cdd2bad.tar.gz blackbird-op-linux-7592181005261c3d90398375ab6922f56cdd2bad.zip |
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>
Diffstat (limited to 'lib/crc7.c')
0 files changed, 0 insertions, 0 deletions