From: Dan Carpenter Date: Thu, 29 Mar 2012 06:43:54 +0000 (+0300) Subject: Staging: vt6655-6: check keysize before memcpy() X-Git-Tag: v3.4-rc3~25^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ca5218e3939685c2325fc0a0a1ac8150272c93f;p=pandora-kernel.git Staging: vt6655-6: check keysize before memcpy() We need to check the we don't copy too much memory. This comes from a copy_from_user() in the ioctl. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed