From: Johannes Berg Date: Thu, 3 Nov 2011 08:27:01 +0000 (+0100) Subject: nl80211: fix HT capability attribute validation X-Git-Tag: v3.2-rc3~25^2~49^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c7394197af90f6a332180e33f5d025d3037d883;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed