From: Antonino A. Daplas Date: Thu, 15 Sep 2005 13:34:33 +0000 (+0800) Subject: [PATCH] vc: Use correct size on buffer copy in vc_resize X-Git-Tag: v2.6.14-rc2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=065d9cac98a5406ecd5a1368f8fd38f55739dee9;p=pandora-kernel.git [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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed