summaryrefslogtreecommitdiffstats
path: root/mm/mempolicy.c
diff options
context:
space:
mode:
authorStefani Seibold <stefani@seibold.net>2009-08-07 00:07:30 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-08-07 19:39:55 +0200
commit93274e4d4e9416ad1fa47e2f26011e2c483fe5fe (patch)
tree0eab51b9489a19925bf03fa5f497eb8749df2645 /mm/mempolicy.c
parentgeneric-ipi: fix hotplug_cfd() (diff)
downloadlinux-93274e4d4e9416ad1fa47e2f26011e2c483fe5fe.tar.xz
linux-93274e4d4e9416ad1fa47e2f26011e2c483fe5fe.zip
fbcon: fix rotate upside down crash
Fix the rotate_ud() function not to crash in case of a font which has not a width of multiple by 8: The inner loop of the font pixel copy should not access a bit outside the font memory area. Subtract the shift offset from the font width will prevent this. Signed-off-by: Stefani Seibold <stefani@seibold.net> Cc: Krzysztof Helt <krzysztof.h1@poczta.fm> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions