summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/broadcom/brcm80211
diff options
context:
space:
mode:
authorPin-yen Lin <treapking@chromium.org>2023-09-08 13:41:12 +0300
committerKalle Valo <kvalo@kernel.org>2023-09-18 16:19:25 +0300
commitaef7a0300047e7b4707ea0411dc9597cba108fc8 (patch)
tree5e59499a3c9be73147b347877d84a7473086e3a4 /drivers/net/wireless/broadcom/brcm80211
parent2e1b3ae3e1f2cf5a3c9c05d5f961d7d4257b489f (diff)
downloadlinux-aef7a0300047e7b4707ea0411dc9597cba108fc8.tar.xz
wifi: mwifiex: Fix oob check condition in mwifiex_process_rx_packet
Only skip the code path trying to access the rfc1042 headers when the buffer is too small, so the driver can still process packets without rfc1042 headers. Fixes: 119585281617 ("wifi: mwifiex: Fix OOB and integer underflow when rx packets") Signed-off-by: Pin-yen Lin <treapking@chromium.org> Acked-by: Brian Norris <briannorris@chromium.org> Reviewed-by: Matthew Wang <matthewmwang@chromium.org> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230908104308.1546501-1-treapking@chromium.org
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211')
0 files changed, 0 insertions, 0 deletions