diff options
author | Mordechay Goodstein <[email protected]> | 2022-12-05 10:35:40 +0200 |
---|---|---|
committer | Gregory Greenman <[email protected]> | 2022-12-07 17:35:58 +0200 |
commit | 1174e8fcbba89593f67240c3395554b3812a4981 (patch) | |
tree | ed6fb8809bc107692dd1d096aaeec5ee0ce0922c /lib/mpi/mpi-sub-ui.c | |
parent | c5a976cf6a756efeee190f05c875b732bd10b4df (diff) |
wifi: iwlwifi: mvm: don't access packet before checking len
Currently in sniffer mode we access pkt fields before checking that
the frame has the length to access it. Fix this by moving the check
to before the access.
Signed-off-by: Mordechay Goodstein <[email protected]>
Signed-off-by: Gregory Greenman <[email protected]>
Link: https://lore.kernel.org/r/20221205102808.934da230c698.Ib56f11bbc8978e15d38394336a929cb4996ba39e@changeid
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions