summaryrefslogtreecommitdiffstats
path: root/lib/reciprocal_div.c
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2007-07-17 04:05:35 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 10:23:12 -0700
commit7592181005261c3d90398375ab6922f56cdd2bad (patch)
tree9ca5d040ec5bd2258553af8e3f2ef8d14e5db316 /lib/reciprocal_div.c
parent11494543a5775b4764d0172084092715a533a8ce (diff)
downloadblackbird-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/reciprocal_div.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud