diff options
author | Antonio Quartulli <ordex@autistici.org> | 2012-10-26 18:54:25 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-26 22:52:18 +0200 |
commit | badecb001a310408d3473b1fc2ed5aefd0bc92a9 (patch) | |
tree | 3c39faabf192afce572be53b96bb65ad07ea7183 /net/wireless | |
parent | f7fbf70ee9db6da6033ae50d100e017ac1f26555 (diff) | |
download | op-kernel-dev-badecb001a310408d3473b1fc2ed5aefd0bc92a9.zip op-kernel-dev-badecb001a310408d3473b1fc2ed5aefd0bc92a9.tar.gz |
mac80211: fix SSID copy on IBSS JOIN
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.
Cc: stable@vger.kernel.org
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
[rewrapped commit message, small rewording]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions