lkml.org 
[lkml]   [2021]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] wireless: fix division by zero in USB drivers
Date
This series adds the missing endpoint sanity checks to the wireless USB
drivers that were doing packet-size calculations without first making
sure that the USB descriptors were sane.

Johan

Changes in v2:
- tighten the sanity checks for the mwifiex firmware-download mode to
handle also a missing bulk-out endpoint (noticed by Brian Norris)


Johan Hovold (3):
ath10k: fix division by zero in send path
ath6kl: fix division by zero in send path
mwifiex: fix division by zero in fw download path

drivers/net/wireless/ath/ath10k/usb.c | 5 +++++
drivers/net/wireless/ath/ath6kl/usb.c | 5 +++++
drivers/net/wireless/marvell/mwifiex/usb.c | 16 ++++++++++++++++
3 files changed, 26 insertions(+)

--
2.32.0

\
 
 \ /
  Last update: 2021-10-27 10:13    [W:0.141 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site