wil6210: protect against invalid length of tx management frame
authorHamad Kadmany <qca_hkadmany@qca.qualcomm.com>
Tue, 8 Aug 2017 11:16:40 +0000 (14:16 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 8 Aug 2017 18:43:45 +0000 (21:43 +0300)
commit6641525ce40ef45641c8f43bb19cd4e471e4cb75
tree13a486ca9a9d811d54dc4f3acc4ee91b9525339e
parent3588e1110e49fdad7fc8898420a9c71b34a3ca04
wil6210: protect against invalid length of tx management frame

Validate buffer length has the minimum needed size
when sending management frame to protect against
possible buffer overrun.

Signed-off-by: Hamad Kadmany <qca_hkadmany@qca.qualcomm.com>
Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/cfg80211.c
drivers/net/wireless/ath/wil6210/debugfs.c