diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-11-03 09:27:01 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-07 13:19:13 -0500 |
commit | 6c7394197af90f6a332180e33f5d025d3037d883 (patch) | |
tree | 9fcebadff9c028206a9c51fe99764662e4acacbf /net/appletalk | |
parent | 3432f9233704a66e6067944339a311744243707d (diff) | |
download | linux-3.10-6c7394197af90f6a332180e33f5d025d3037d883.tar.gz linux-3.10-6c7394197af90f6a332180e33f5d025d3037d883.tar.bz2 linux-3.10-6c7394197af90f6a332180e33f5d025d3037d883.zip |
nl80211: fix HT capability attribute validation
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.
Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/appletalk')
0 files changed, 0 insertions, 0 deletions