Fix a crash when doing PEAP/TTLS authentication
authorFabien Marotte <fabienx.marotte@linux.intel.com>
Thu, 16 Sep 2010 07:52:43 +0000 (09:52 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 16 Sep 2010 10:52:08 +0000 (12:52 +0200)
commitb36ad87dd441b253d1756936660fa728425ac113
tree3a7cd3a96bdfe07ec29a9f1f60d37e45f31087d7
parent19e15a5dff2fc847edd45232ac0102b76ffeccf6
Fix a crash when doing PEAP/TTLS authentication

When doing a PEAP/TTLS authentication, if the Phase2 passphrase is
not provided, connman crashes due to a NULL pointer.
This patch fixes the crash.

Fixes BMC #6841
plugins/supplicant.c