[media] gp8psk: don't go past the buffer size
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 7 Oct 2016 17:12:48 +0000 (14:12 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 15:45:25 +0000 (12:45 -0300)
commitf1a503dddf4d4da2b7bbf6ae4e92527bdc265bb9
tree66c132ca66a00c29bc847aac12ba34b081bb92d8
parentfa86c9a1fca5a50563cc63e97aa130a3c54f1d4c
[media] gp8psk: don't go past the buffer size

Add checks to avoid going out of the buffer.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/dvb-usb/gp8psk.c