commit | 6c7394197af90f6a332180e33f5d025d3037d883 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Thu Nov 03 09:27:01 2011 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Nov 07 13:19:13 2011 -0500 |
tree | 9fcebadff9c028206a9c51fe99764662e4acacbf | |
parent | 3432f9233704a66e6067944339a311744243707d [diff] |
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>