Johan Hovold 5182c2cf2a USB: serial: mos7840: fix another NULL-deref at open
Fix another NULL-pointer dereference at open should a malicious device
lack an interrupt-in endpoint.

Note that the driver has a broken check for an interrupt-in endpoint
which means that an interrupt URB has never even been submitted.

Fixes: 3f5429746d91 ("USB: Moschip 7840 USB-Serial Driver")
Cc: stable <stable@vger.kernel.org>	# v2.6.19: 5c75633ef751
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
2017-02-09 13:15:07 +01:00
..
2016-07-16 12:45:39 +02:00
2017-01-26 09:49:13 +01:00
2015-12-18 09:30:34 -08:00
2017-01-26 09:49:13 +01:00
2016-05-20 21:12:25 -07:00
2017-01-26 09:49:13 +01:00
2017-01-26 09:49:13 +01:00