aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorMordechay Goodstein <[email protected]>2022-12-05 10:35:40 +0200
committerGregory Greenman <[email protected]>2022-12-07 17:35:58 +0200
commit1174e8fcbba89593f67240c3395554b3812a4981 (patch)
treeed6fb8809bc107692dd1d096aaeec5ee0ce0922c /lib/mpi/mpi-sub-ui.c
parentc5a976cf6a756efeee190f05c875b732bd10b4df (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