git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d36ba6
)
[PATCH] vc: Use correct size on buffer copy in vc_resize
author
Antonino A. Daplas
<adaplas@gmail.com>
Thu, 15 Sep 2005 13:34:33 +0000
(21:34 +0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 15 Sep 2005 15:24:09 +0000
(08:24 -0700)
In the unlikely case of the new screen width much wider then the old,
use (old_row_size * new_rows) instead of new_screen_size to prevent a
buffer overrun during the copy.
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
No differences found