Staging: vt6655: add some range checks before memcpy()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 20 Oct 2011 06:10:09 +0000 (09:10 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 23 Oct 2011 08:13:20 +0000 (10:13 +0200)
There were no range checks in the original code so the user could
write past the end of the array.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found