Re: [media] dvb-usb: reading before start of array

2013-02-05 Thread Mauro Carvalho Chehab
Em Wed, 9 Jan 2013 10:36:32 +0300 Dan Carpenter dan.carpen...@oracle.com escreveu: This is a static checker fix. In the ttusb_process_muxpack() we do: cc = (muxpack[len - 4] 8) | muxpack[len - 3]; That means if we pass a number less than 4 then we will either trigger a checksum

[media] dvb-usb: reading before start of array

2013-01-08 Thread Dan Carpenter
This is a static checker fix. In the ttusb_process_muxpack() we do: cc = (muxpack[len - 4] 8) | muxpack[len - 3]; That means if we pass a number less than 4 then we will either trigger a checksum error message or read before the start of the array. Signed-off-by: Dan Carpenter