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:18:31 -0800 |
commit | 1d45cb149a2ad467d5454a01ec60bff38b0ddfe4 (patch) | |
tree | a71c4b9a38f021039612c9133175f2d933c96e17 /scripts/coccicheck | |
parent | ec17483485122fbae70bb40d77aa1f0cf1916df2 (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 'scripts/coccicheck')
0 files changed, 0 insertions, 0 deletions