2007-10-23 Dan Williams <dcbw@redhat.com>

* libnm-util/nm-setting.c
		- (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
			before trying to do something with it



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3005 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2007-10-23 13:27:26 +00:00
parent 9b1909189d
commit a83107ff1d
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2007-10-23 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting.c
- (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
before trying to do something with it
2007-10-23 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c

View file

@ -1268,6 +1268,7 @@ setting_wireless_security_need_secrets (NMSetting *setting)
/* LEAP */
if ( (strcmp (self->key_mgmt, "ieee8021x") == 0)
&& self->auth_alg
&& (strcmp (self->auth_alg, "leap") == 0)
&& (string_list_contains (self->eap, "leap"))) {
if (!self->password || !strlen (self->password)) {