Files
linux/net
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-23 16:29:24 -04:00
2012-10-02 09:47:06 -07:00
2011-11-11 09:36:45 -08:00
2011-07-19 11:25:04 -07:00
2011-03-14 17:02:42 -07:00
2011-03-17 11:59:32 +11:00
2012-10-28 10:02:13 -07:00
2012-10-28 10:02:13 -07:00
2011-03-21 18:16:39 -07:00
2011-05-24 01:13:12 -04:00
2012-10-02 09:47:21 -07:00
2012-10-28 10:02:13 -07:00
2011-05-24 01:13:12 -04:00
2011-05-05 11:10:14 -07:00
2011-04-29 10:20:53 -07:00