Dan Carpenter 0c849b3c16 Staging: vt6655: add some range checks before memcpy()
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>
2011-10-23 10:13:20 +02:00
..
2011-03-31 11:26:23 -03:00
2010-06-24 14:23:18 -07:00
2010-06-24 14:23:17 -07:00
2010-06-24 14:23:18 -07:00
2010-06-24 14:23:18 -07:00
2010-06-24 14:23:18 -07:00
2010-06-24 14:23:18 -07:00
2010-06-24 14:23:18 -07:00
2010-06-24 14:23:18 -07:00
2010-06-24 14:23:17 -07:00
2010-06-24 14:23:18 -07:00
2010-06-24 14:23:17 -07:00
2010-06-24 14:23:18 -07:00
2010-06-24 14:23:18 -07:00
2011-03-31 11:26:23 -03:00
2010-06-24 14:23:18 -07:00