Dan Carpenter bba90aedb0 usb: storage: onetouch: tighten a range check
Smatch complains because we only allocate ONETOUCH_PKT_LEN (2) bytes
but later when we call usb_fill_int_urb() we assume maxp can be up
to 8 bytes.  I talked to the maintainer and maxp should be capped at
ONETOUCH_PKT_LEN.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-15 11:45:16 -07:00
..
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2008-07-21 15:15:55 -07:00
2008-07-21 15:15:55 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-11-28 13:28:54 -08:00
2012-09-05 17:21:36 -07:00
2008-07-21 15:15:55 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2012-09-05 17:21:36 -07:00
2013-01-25 09:56:54 -08:00
2013-02-08 12:03:11 -08:00