[media] gspca_topro: Add a couple of missing length check in the packet parsing code
authorHans de Goede <hdegoede@redhat.com>
Sun, 23 Feb 2014 22:01:58 +0000 (19:01 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 28 Feb 2014 17:38:16 +0000 (14:38 -0300)
commite15fd24495dedb50068e649173ba65a70af63d16
treee5683951e3f7c59af9481b8a1741be1abbbc9e59
parentce4452e65dad27295f7ceb553727b55e2abbdd90
[media] gspca_topro: Add a couple of missing length check in the packet parsing code

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/gspca/topro.c