[media] pvrusb2: don't go past buf array
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 22 Feb 2016 16:22:35 +0000 (13:22 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Feb 2016 10:20:47 +0000 (07:20 -0300)
commit2e158d45fe69b16a0d3d2777e474115fa69eb068
tree9639e5eece7b1f80a9e2837e56ed16f185dc9d00
parent19409c8969380ec42e07e5ac2d29d4a33bea572d
[media] pvrusb2: don't go past buf array

That fixes the following smatch warning:
drivers/media/usb/pvrusb2/pvrusb2-hdw.c:4909 pvr2_hdw_state_log_state() error: buffer overflow 'buf' 256 <= 4294967294

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/pvrusb2/pvrusb2-hdw.c