diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-10-26 00:33:36 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-17 13:16:08 -0800 |
commit | 537d86c490a03bcb56dfa24c0327c18e61b1ced5 (patch) | |
tree | 5d6aa73453746c3439923c64e90dc4b7c2ef60aa /include/net/lapb.h | |
parent | 4b51c17efde8501badb4bf7355172eb262407ad8 (diff) |
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 'include/net/lapb.h')
0 files changed, 0 insertions, 0 deletions