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

Sascha Silbe silbe at activitycentral.com
Tue Apr 17 17:29:44 EDT 2012


Excerpts from Sascha Silbe's message of 2012-04-11 23:40:55 +0200:

[embedded NUL in SSIDs]
> Yes, that's the one case I wanted to test but couldn't (quickly) get
> HostAP to do it.

I'm now quite sure that with the current versions, I can't get either
iwconfig (which can be used to set up a Prism 2.5 based AP at least in
open and WEP modes) or hostapd (required for WPA on Prism 2.5 and for
any AP mode on mac80211 based drivers) to use SSIDs with embedded
NULs. iwconfig supports escaping for SSIDs, but using an embedded NUL
causes truncation (possibly a driver bug). For hostapd, the
configuration can only take unescaped, literal values. I've filed a
corresponding feature request [1] upstream.

Sascha

[1] http://w1.fi/bugz/show_bug.cgi?id=441
-- 
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/20120417/60275198/attachment.pgp>


More information about the Sugar-devel mailing list