aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-11-03 09:27:01 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-26 09:09:55 -0800
commitc1ce1705eb0778927a0b81a6eb29e8ff193aa3de (patch)
treece823c6988c2cda5d7db1abe6e1cf882dcf72c21 /net/wireless/reg.c
parentae1e9df381d5197015356e22de9d7acaf646a9ab (diff)
downloadkernel_samsung_smdk4412-c1ce1705eb0778927a0b81a6eb29e8ff193aa3de.zip
kernel_samsung_smdk4412-c1ce1705eb0778927a0b81a6eb29e8ff193aa3de.tar.gz
kernel_samsung_smdk4412-c1ce1705eb0778927a0b81a6eb29e8ff193aa3de.tar.bz2
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/wireless/reg.c')
0 files changed, 0 insertions, 0 deletions