summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2019-12-10 12:25:58 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-21 10:35:13 +0100
commita43a9fd959619c972e06d7f1f5a0d0df466b643a (patch)
tree88e8bbe388f1e4e2d5f60ee1795f27923c577e8a /include/linux
parent221123c54029af96aaf1ee896b1ab0165f712d61 (diff)
USB: atm: ueagle-atm: add missing endpoint check
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: b72458a80c75 ("[PATCH] USB: Eagle and ADI 930 usb adsl modem driver") Cc: stable <stable@vger.kernel.org> # 2.6.16 Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://lore.kernel.org/r/20191210112601.3561-2-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions