summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/fw/dump.c
diff options
context:
space:
mode:
authorMordechay Goodstein <mordechay.goodstein@intel.com>2022-12-05 10:35:40 +0200
committerGregory Greenman <gregory.greenman@intel.com>2022-12-07 17:35:58 +0200
commit1174e8fcbba89593f67240c3395554b3812a4981 (patch)
treeed6fb8809bc107692dd1d096aaeec5ee0ce0922c /drivers/net/wireless/intel/iwlwifi/fw/dump.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 <mordechay.goodstein@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20221205102808.934da230c698.Ib56f11bbc8978e15d38394336a929cb4996ba39e@changeid
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/dump.c')
0 files changed, 0 insertions, 0 deletions