aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wwan/iosm/iosm_ipc_protocol.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2022-08-22 17:10:27 +0200
committerGreg Kroah-Hartman <[email protected]>2022-09-22 10:40:57 +0200
commit763679f0eeff0185fc431498849bbc1c24460875 (patch)
tree919287efd3548c9d811b3b466cf2809ebf2f57a2 /drivers/net/wwan/iosm/iosm_ipc_protocol.c
parentce001778dfc34804f2b1fa6faaad7ac888326afb (diff)
media: flexcop-usb: fix endpoint type check
Commit d725d20e81c2 ("media: flexcop-usb: sanity checking of endpoint type") tried to add an endpoint type sanity check for the single isochronous endpoint but instead broke the driver by checking the wrong descriptor or random data beyond the last endpoint descriptor. Make sure to check the right endpoint descriptor. Fixes: d725d20e81c2 ("media: flexcop-usb: sanity checking of endpoint type") Cc: Oliver Neukum <[email protected]> Cc: [email protected] # 5.9 Reported-by: Dongliang Mu <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_protocol.c')
0 files changed, 0 insertions, 0 deletions