commit | 4a4f1a5808c8bb0b72a4f6e5904c53fb8c9cd966 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Fri Oct 26 00:33:36 2012 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Oct 26 22:52:41 2012 +0200 |
tree | 337243407a1d2240af23de94b042592311aaae63 | |
parent | 7dd111e8ee10cc6816669eabcad3334447673236 [diff] |
mac80211: check management frame header length 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. Cc: stable@vger.kernel.org Signed-off-by: Johannes Berg <johannes.berg@intel.com>