aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ibss.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-10-26 00:33:36 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-17 13:14:21 -0800
commit03938ad82dcc45ecc5695ed14f7869b06b233b8d (patch)
treeb645b8d36b6d36180115e2dfb941644207184704 /net/mac80211/ibss.c
parent2dda2bb41abe27bdfab30234d56320339a411b3d (diff)
downloadkernel_samsung_smdk4412-03938ad82dcc45ecc5695ed14f7869b06b233b8d.zip
kernel_samsung_smdk4412-03938ad82dcc45ecc5695ed14f7869b06b233b8d.tar.gz
kernel_samsung_smdk4412-03938ad82dcc45ecc5695ed14f7869b06b233b8d.tar.bz2
mac80211: check management frame header length
commit 4a4f1a5808c8bb0b72a4f6e5904c53fb8c9cd966 upstream. Due to pskb_may_pull() checking the skb length, all non-management frames are checked on input whether their 802.11 header is fully present. Also add that check for management frames and remove a check that is now duplicate. This prevents accessing skb data beyond the frame end. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/mac80211/ibss.c')
0 files changed, 0 insertions, 0 deletions