Files
linux/net/mac80211
Antonio Quartulli 9c750c9809 mac80211: fix SSID copy on IBSS JOIN
commit badecb001a upstream.

The 'ssid' field of the cfg80211_ibss_params is a u8 pointer and
its length is likely to be less than IEEE80211_MAX_SSID_LEN most
of the time.

This patch fixes the ssid copy in ieee80211_ibss_join() by using
the SSID length to prevent it from reading beyond the string.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
[rewrapped commit message, small rewording]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-17 13:14:21 -08:00
..
2011-05-16 14:10:41 -04:00
2011-05-16 14:10:41 -04:00
2012-11-17 13:14:21 -08:00
2011-05-16 14:10:41 -04:00
2011-01-05 16:07:12 -05:00
2012-02-29 16:33:40 -08:00
2011-05-16 14:10:41 -04:00
2012-08-15 12:04:11 -07:00
2011-05-05 14:59:20 -04:00
2011-03-31 11:26:23 -03:00
2010-12-22 15:44:22 -05:00