summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2023-12-04 20:11:28 +0300
committerKalle Valo <kvalo@kernel.org>2023-12-12 17:33:49 +0200
commitfe0a7776d4d19e613bb8dd80fe2d78ae49e8b49d (patch)
treea00c285de28ac76676eac69a30ed00dd4d5f6d8f /tools/perf/scripts/python/export-to-postgresql.py
parent595b1280e2c95ea53fbb228bb90d834caa0f86f1 (diff)
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 <dmantipov@yandex.ru> Tested-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Acked-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20231204171130.141394-1-dmantipov@yandex.ru
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions