[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 10 15:43:20 EDT 2012


On Tue, Apr 3, 2012 at 1:22 PM, Daniel Drake <dsd at laptop.org> wrote:
> Had a quick read through the patch, looks good.

Same here. Thanks Sascha for this!

There is only one thing that still worries me. According to the spec,
the ESSID may also contain nulls in the middle of the array. I don't
know how NM handles such cases in its communication with nm-client via
d-bus. I don't know even how to setup an AP to broadcast an ESSID with
a null embedded.

Implementations -- AP and client side -- seem to handle the ESSOD as a
string with unpredictable (and potentially mixed up) encoding but
still as a string.



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