SSID len bug

Jouni Malinen jkmaline
Fri Sep 8 13:18:25 PDT 2006


On Fri, Sep 08, 2006 at 12:54:52PM -0700, Chris Zimmermann wrote:

> I'm using hostapd v0.5.5 and found, what appears to be, a minor bug  
> regarding SSID length.
> 
> In config.c, hostapd_config_read(), the check for SSID length is as  
> follows:
> 
> 			if (bss->ssid.ssid_len >= HOSTAPD_MAX_SSID_LEN ||

> Since SSIDs can be up to and including 32 bytes, the check in  
> hostapd_config_read() should be "greater than" not "greater than or  
> equal to",

Thanks! I'm surprised that this was still there.. I had fixed that long
time ago, but apparently never merged it into the hostapd CVS tree.
Anyway, it is now fixed in CVS.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list