6cbf02876f
commit 09068c1ad53fb077bdac288869dec2435420bdc4 upstream.
Make sure that the interrupt interface has an endpoint before trying to
access its endpoint descriptors to avoid dereferencing a NULL pointer.
The driver binds to the interrupt interface with interface number 0, but
must not assume that this interface or its current alternate setting are
the first entries in the corresponding configuration arrays.
Fixes:
|
||
---|---|---|
.. | ||
cxacru.c | ||
Kconfig | ||
Makefile | ||
speedtch.c | ||
ueagle-atm.c | ||
usbatm.c | ||
usbatm.h | ||
xusbatm.c |