Isn't that patch slightly wrong anyway? If the length of the ssid is 0 why check its first byte? Without looking at the surrounding code, if that buffer is not allocated and we check the bytes value, it could cause a seg fault.
I would think that the better way to write this would be: if ((ssid_len == 0) || ((ssid_len == 1) && (ssid[0] == ' '))) return 1; Just my 2c On Sun, 2009-01-04 at 21:05 -0500, Bob Copeland wrote: > On Fri, Jan 02, 2009 at 07:56:22AM +0100, manuel.f...@chello.at wrote: > > it seems as if there is a problem with the hidden network. I can't > > uncloak the SSID because it isn't my network. Could you please tell me > > if I did something wrong? > > This sounds similar to the problem from this thread: > > http://marc.info/?l=linux-wireless&m=122757230703989&w=2 > > Does that patch fix it? > _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel