[Prism54-devel] [PATCH Linux-2.6.8-rc1] prism54 Fix wrong type for BSSID

Margit Schubert-While margitsw at t-online.de
Mon Jul 12 19:08:16 UTC 2004


2004-07-12 Margit Schubert-While <margitsw at t-online.de>

* The OID type for BSSID was incorrectly set to type SSID.
  It should be type RAW. This lead to interesting reporting
  by "iwpriv ethX g_bssid". 
  (Which caused garbage output and possibly an out of bound)

* Be ultra-cautious in reporting SSID by changing the "%s"
  to "%.*s" and passing the length. (Prompted by the false
  type above, whereby length = 0 and a %s on a garbage field)

Jeff, this is on top of the previous patch (chanfreq.patch)
from 2004/07/06 (which isn't in 2.6.8-rc1).

Margit






-------------- next part --------------
A non-text attachment was scrubbed...
Name: bssid.patch
Type: text/x-diff
Size: 955 bytes
Desc: not available
Url : http://prism54.org/pipermail/prism54-devel/attachments/20040712/8fc5b3c0/bssid.bin


More information about the Prism54-devel mailing list