Re: Errors running current SVN code



On Tue, 30 Jan 2007 20:14:29 +1300, delgarde wrote:
> +        if (entry.bytearray_value[0] == 0 && ssid_len>0) {
> +          nm_warning("Error: got an access point with an invalid SSID");

The ssid is not a string but a char[ssid_len]. Control characters and \0
are allowed (although many programs impose artificial restrictions, good
luck passing a \0 through your home router's web interface). You shouldn't
ignore the ssid only because it starts with 0.

Volker




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