diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2007-07-17 13:05:41 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 19:23:12 +0200 |
commit | 973d9ab231a6b9feb1ff5b9a072f11756eca96cc (patch) | |
tree | fefef9f4bd86989579a8b6496dfc09faba19acf8 /scripts/rt-tester | |
parent | tgafb: actually allocate memory for the pseudo_palette (diff) | |
download | linux-973d9ab231a6b9feb1ff5b9a072f11756eca96cc.tar.xz linux-973d9ab231a6b9feb1ff5b9a072f11756eca96cc.zip |
tridentfb: 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 'scripts/rt-tester')
0 files changed, 0 insertions, 0 deletions