diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2005-09-15 21:34:33 +0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-15 08:24:09 -0700 |
commit | 065d9cac98a5406ecd5a1368f8fd38f55739dee9 (patch) | |
tree | 07ee4a0bf1eba87e704073bd95bac25022cb5a52 /fs | |
parent | 6d36ba629e0ef47a03d3703ee1d38143c25532a8 (diff) | |
download | op-kernel-dev-065d9cac98a5406ecd5a1368f8fd38f55739dee9.zip op-kernel-dev-065d9cac98a5406ecd5a1368f8fd38f55739dee9.tar.gz |
[PATCH] vc: Use correct size on buffer copy in vc_resize
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions