wifi: Check for passphrase being not NULL before calling strlen
authorMohamed Abbas <mabbas@linux.intel.com>
Thu, 23 Dec 2010 21:28:47 +0000 (13:28 -0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 23 Dec 2010 22:35:50 +0000 (23:35 +0100)
commitc8cd6c98e453d5f9edfd058ccd30cdc16581d4f6
treee5f141c8ffd53e1dd5b79cf5abe065f73eaef8e6
parentb4ebacbab72e33c87629ca7089dc44b06a83eff2
wifi: Check for passphrase being not NULL before calling strlen

It seems strlen(passphrase) was crashing on NULL passphrase.
plugins/wifi.c