projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d52de88
)
If SSID starts with 0x00 value, then ignore it
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 14 Jul 2009 10:26:48 +0000
(12:26 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 14 Jul 2009 10:26:48 +0000
(12:26 +0200)
plugins/supplicant.c
patch
|
blob
|
history
diff --git
a/plugins/supplicant.c
b/plugins/supplicant.c
index
4b906a6
..
4d6f96d
100644
(file)
--- a/
plugins/supplicant.c
+++ b/
plugins/supplicant.c
@@
-1026,6
+1026,9
@@
static void extract_ssid(DBusMessageIter *value,
if (ssid_len < 1)
return;
+ if (ssid[0] == '\0')
+ return;
+
result->ssid = g_try_malloc(ssid_len);
if (result->ssid == NULL)
return;