]> err.no Git - linux-2.6/commit
[PATCH] tdfxfb: Fix buffer overrun
authorAntonino A. Daplas <adaplas@gmail.com>
Sat, 11 Mar 2006 11:27:26 +0000 (03:27 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 11 Mar 2006 17:19:36 +0000 (09:19 -0800)
commit54243cefdd3ab8133ebe7d3d705f35ca1d0b59eb
tree5ceed59890052f4f8970bbac9ac1800811d94106
parentd301524772be3eef5fae1bcd5ca76fac69bb3b6e
[PATCH] tdfxfb: Fix buffer overrun

The pseudo_palette has room only for 16 entries, but tdfxfb_setcolreg may
attempt to write more.

Coverity Bug 557

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/tdfxfb.c