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

Martin Langhoff martin.langhoff at gmail.com
Tue Apr 17 17:42:40 EDT 2012


On Mon, Apr 16, 2012 at 3:33 AM, Simon Schampijer <simon at schampijer.de> wrote:
> Thanks for the patch, looks good. I tested here with my AP that does
> announce in non utf-8 char and it works fine.

Cool! Great stuff.

What does your funny-chars AP read like in the UI with this patch?

We have the short term fix, and now the long term fix is landing. Aye.

About the nulls in the middle of the ESSID -- I hope that the kernel
drivers know how to handle ESSIDs internally (hopefully using an array
of bytes instead of a null-terminated string).

Userland, OTOH, will be more prone to problems with nulls I suspect.
The ESSID will come from a a config file (where usually nulls are not
supported), or from a cmdline parameter, where's C-style string
handling will have trouble with the nulls.




m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Sugar-devel mailing list