-
- Downloads
mac80211: add length check in ieee80211_is_robust_mgmt_frame()
A few places weren't checking that the frame passed to the
function actually has enough data even though the function
clearly documents it must have a payload byte. Make this
safer by changing the function to take an skb and checking
the length inside. The old version is preserved for now as
the rtl* drivers use it and don't have a correct skb.
Signed-off-by:
Johannes Berg <johannes.berg@intel.com>
Showing
- drivers/net/wireless/rtlwifi/rtl8188ee/trx.c 1 addition, 1 deletiondrivers/net/wireless/rtlwifi/rtl8188ee/trx.c
- drivers/net/wireless/rtlwifi/rtl8192ce/trx.c 1 addition, 1 deletiondrivers/net/wireless/rtlwifi/rtl8192ce/trx.c
- drivers/net/wireless/rtlwifi/rtl8192se/trx.c 1 addition, 1 deletiondrivers/net/wireless/rtlwifi/rtl8192se/trx.c
- drivers/net/wireless/rtlwifi/rtl8723ae/trx.c 1 addition, 1 deletiondrivers/net/wireless/rtlwifi/rtl8723ae/trx.c
- include/linux/ieee80211.h 13 additions, 2 deletionsinclude/linux/ieee80211.h
- net/mac80211/rx.c 6 additions, 7 deletionsnet/mac80211/rx.c
- net/mac80211/tx.c 4 additions, 5 deletionsnet/mac80211/tx.c
- net/mac80211/wpa.c 1 addition, 1 deletionnet/mac80211/wpa.c
Loading
Please register or sign in to comment