summaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorAntonino A. Daplas2005-09-15 15:34:33 +0200
committerLinus Torvalds2005-09-15 17:24:09 +0200
commit065d9cac98a5406ecd5a1368f8fd38f55739dee9 (patch)
tree07ee4a0bf1eba87e704073bd95bac25022cb5a52 /net/socket.c
parent[PATCH] vgacon: Fix sanity checking in vgacon_resize (diff)
downloadkernel-qcow2-linux-065d9cac98a5406ecd5a1368f8fd38f55739dee9.tar.gz
kernel-qcow2-linux-065d9cac98a5406ecd5a1368f8fd38f55739dee9.tar.xz
kernel-qcow2-linux-065d9cac98a5406ecd5a1368f8fd38f55739dee9.zip
[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 'net/socket.c')
0 files changed, 0 insertions, 0 deletions