[media] ttusb-dec: buffer overflow in ioctl
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 5 Sep 2014 12:09:28 +0000 (09:09 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Sep 2014 19:13:37 +0000 (16:13 -0300)
commitf2e323ec96077642d397bb1c355def536d489d16
tree3d8d24ee7d8deb8eb9befe8b3264b1f9b0f5017e
parent9380e112f7b9ab83b57062f2164476e76c5533c7
[media] ttusb-dec: buffer overflow in ioctl

We need to add a limit check here so we don't overflow the buffer.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/ttusb-dec/ttusbdecfe.c