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
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