aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorStefani Seibold <[email protected]>2009-08-06 15:07:30 -0700
committerLinus Torvalds <[email protected]>2009-08-07 10:39:55 -0700
commit93274e4d4e9416ad1fa47e2f26011e2c483fe5fe (patch)
tree0eab51b9489a19925bf03fa5f497eb8749df2645 /net/lapb/lapb_iface.c
parent69dd647f969c28d18de77e2153f30d05a1874571 (diff)
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 <[email protected]> Cc: Krzysztof Helt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions