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

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

 



On Wed, 2007-09-05 at 14:44 -0600, Richi Plana wrote:
> On Wed, 2007-09-05 at 15:06 -0400, Dan Williams wrote:
> > The drivers return a 32-byte array containing arbitrary values to
> > NetworkManager, which is technically correct.  It's up to NM and
> > userspace to deal with this somehow.  802.11 specifies nothing about
> > encoding or anything other than a max length of 32 bytes.
> 
> Right-o. And it's probably only chance coincidence that most wireless
> dev manufacturers allowed text input for the ESSID (or maybe it was a
> common stroke of brilliance).
> 
> At any rate, because of a lack of specification, we have to deal with
> partial chaos (a recurring theme. Yay well-written specs!).

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

Simo.


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux