I also bumped into this one today. Looking at the code revealed the bug
is in get_uchar_array() (src/settings/plugins/keyfile/reader.c, line
733). Besides SSIDs stored as normal strings, the function also has code
for reading SSIDs in the form of a semicolon-separated list of integers
(the "old format" as the comment refers to it). So when the function
encounters an all-numeric SSID, it tries to parse it as if it was in
this "old format". This inevitably fails for integers greater than 255
and would report a single-char SSID for lower values which isn't exactly
correct either. I'm not really into the key-value file parser in glib
but I don't think there's a good way to distinguish between these two
cases.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/824260

Title:
  Network Manager fails to connect to, or create a wireless connection
  for, an all-numeric SSID

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/824260/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to