[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: NetworkManager and "illegal" SSID chars = crash?



On Wed, 2007-09-05 at 17:01 -0400, Simo Sorce wrote:
> Yeah and also keep in mind that if they are 32bytes with anything
> inside, you can find also embedded NULLs, so NM should cope with that
> too in theory.
> 
> This would be valid I guess:
> EVIL\0\0SSID\0\0HERE\0\0\0\0\0\0\0\0\0\0\0\0\0\032

Right! Good catch. There goes Unicode. As far as I remember, U+0000 does
not exist. And even if it did exist, to accurately capture the ESSID,
you'd end up with a string that's 32 characters long _all the time_.
--

Richi Plana


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]