diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-11-03 09:27:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-26 09:08:34 -0800 |
commit | 2ebd38f358b941add49441bad15cb75217a0f08b (patch) | |
tree | 5053b9a02fb2db9c08b206cbafce664aff3695cd /net/9p | |
parent | 76ba12ddde1d6d4694f6b887d960bb69d338cadf (diff) |
nl80211: fix HT capability attribute validation
commit 6c7394197af90f6a332180e33f5d025d3037d883 upstream.
Since the NL80211_ATTR_HT_CAPABILITY attribute is
used as a struct, it needs a minimum, not maximum
length. Enforce that properly. Not doing so could
potentially lead to reading after the buffer.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions