From: Stanislaw Gruszka Date: Thu, 29 Mar 2012 14:30:41 +0000 (+0200) Subject: mac80211: sanity check for null SSID X-Git-Tag: v3.5-rc1~109^2~487^2^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88c868c43ba38ac3bab07bab4c45b4bc44c94357;p=pandora-kernel.git mac80211: sanity check for null SSID While associated we should never have empty SSID, but life can be full of surprises, and is allways better to print a warning than crash. Before memcpy() in ieee80211_probereq_get() check ssid_len instead of ssid pointer, sice pointer it always passed by "ssidie + 2" expression to send probe functions, so practically never can be NULL. Signed-off-by: Stanislaw Gruszka Signed-off-by: John W. Linville --- Reading git-diff-tree failed