]> git.baikalelectronics.ru Git - kernel.git/commit
staging: gigaset: add endpoint-type sanity check
authorJohan Hovold <johan@kernel.org>
Mon, 2 Dec 2019 08:56:10 +0000 (09:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Dec 2019 10:08:07 +0000 (11:08 +0100)
commit0691dc24874699755e3a0b963fce73eeef932ba2
tree9eb74f9207789b26b69ee05936f1b7907c81aa98
parentb62c57895a6b6bf72f98a52b2c6bc690bc02529b
staging: gigaset: add endpoint-type sanity check

Add missing endpoint-type sanity checks to probe.

This specifically prevents a warning in USB core on URB submission when
fuzzing USB descriptors.

Signed-off-by: Johan Hovold <johan@kernel.org>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20191202085610.12719-4-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/isdn/gigaset/usb-gigaset.c