commit | 4ca5218e3939685c2325fc0a0a1ac8150272c93f | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Mar 29 09:43:54 2012 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Apr 10 09:17:34 2012 -0700 |
tree | fb56eb7e2f5d12f91c31923294815eb7476eb414 | |
parent | 401c90e56c48b1c642507a8bec91b7ae21f1156e [diff] |
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 <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>