[Sugar-devel] [PATCH sugar-0.94] Don't treat SSID as UTF-8 character sequence (fixes SL#2023)

Sascha Silbe silbe at activitycentral.com
Mon Apr 16 14:30:35 EDT 2012


Excerpts from Sascha Silbe's message of 2012-04-10 20:39:18 +0200:
> This is a backport of 7f8ba95a66780828531eba0494e004757bf45c71.
[...]
> This backport was not tested in any way.

Tested:
- filtering on ASCII and non-ASCII parts of the name of and connecting to:
  - an unsecured AP with a UTF-8 SSID ("äöü߀sugartest", HostAP)
  - an unsecured AP with an ISO-8859-1 SSID ("äöüßsugartest", HostAP)
  - an unsecured AP with a non-character SSID (0d:06:f0:0d, HostAP)
  - a WEP-secured AP with a UTF-8 name ("äöü߀sugartest2", HostAP)
  - a WEP-secured AP with an ISO-8859-1 name ("äöüßsugartest2", HostAP)
  - a WEP-secured AP with a non-character SSID (0d:06:f0:0d, HostAP)

In each case the name was displayed correctly in
a) the palette of the AP icon in the Neighbourhood,
b) the palette of the wireless network Frame device and
c) the title of the WLAN credentials (WEP/WPA passphrase) dialog (for
   the WEP cases).


As the non-character SSID test case has caused even Sugar 0.94 to
crash without this patch, I'm going to push the fix to sucrose-0.94.

Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120416/868a88c5/attachment.pgp>


More information about the Sugar-devel mailing list