]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
neofb: Fix pseudo_palette array overrun in neofb_setcolreg
authorAntonino A. Daplas <adaplas@gmail.com>
Thu, 31 May 2007 06:04:57 +0000 (14:04 +0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 31 May 2007 14:48:27 +0000 (07:48 -0700)
commita2b7d2e97edcad0e95ae0d3c253d3f2f69254fa4
tree26b392f8aa430a2715f40f54290952ea1e070436
parent3f0a6766e0cc5a577805732e5adb50a585c58175
neofb: Fix pseudo_palette array overrun in neofb_setcolreg

The pseudo_palette has room for 16 entries only, but in truecolor mode, it
attempts to write 256.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Acked-by: Tero Roponen <teanropo@jyu.fi>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/neofb.c