aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlegacy/common.c
diff options
context:
space:
mode:
authorDmitry Antipov <[email protected]>2023-12-04 17:11:28 +0000
committerKalle Valo <[email protected]>2023-12-12 15:33:49 +0000
commitfe0a7776d4d19e613bb8dd80fe2d78ae49e8b49d (patch)
treea00c285de28ac76676eac69a30ed00dd4d5f6d8f /drivers/net/wireless/intel/iwlegacy/common.c
parentwifi: rtw89: avoid stringop-overflow warning (diff)
downloadkernel-fe0a7776d4d19e613bb8dd80fe2d78ae49e8b49d.tar.gz
kernel-fe0a7776d4d19e613bb8dd80fe2d78ae49e8b49d.zip
wifi: wfx: fix possible NULL pointer dereference in wfx_set_mfp_ap()
Since 'ieee80211_beacon_get()' can return NULL, 'wfx_set_mfp_ap()' should check the return value before examining skb data. So convert the latter to return an appropriate error code and propagate it to return from 'wfx_start_ap()' as well. Compile tested only. Signed-off-by: Dmitry Antipov <[email protected]> Tested-by: Jérôme Pouiller <[email protected]> Acked-by: Jérôme Pouiller <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/net/wireless/intel/iwlegacy/common.c')
0 files changed, 0 insertions, 0 deletions