diff options
author | Pin-yen Lin <[email protected]> | 2023-09-08 18:41:12 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-09-18 16:19:25 +0300 |
commit | aef7a0300047e7b4707ea0411dc9597cba108fc8 (patch) | |
tree | 5e59499a3c9be73147b347877d84a7473086e3a4 /drivers/fpga/tests/fpga-mgr-test.c | |
parent | 2e1b3ae3e1f2cf5a3c9c05d5f961d7d4257b489f (diff) |
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 <[email protected]>
Acked-by: Brian Norris <[email protected]>
Reviewed-by: Matthew Wang <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions