Files
twx-linux/net/mac80211
Johannes Berg daebcf9871 mac80211: fix IBSS presp allocation size
commit f1f3e9e2a5 upstream.

When VHT IBSS support was added, the size of the extra elements
wasn't considered in ieee80211_ibss_build_presp(), which makes
it possible that it would overrun the allocated buffer. Fix it
by allocating the necessary space.

Fixes: abcff6ef01 ("mac80211: add VHT support for IBSS")
Reported-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-26 07:13:09 +02:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2017-02-14 15:22:51 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…