netdev
[Top] [All Lists]

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

To: jgarzik@xxxxxxxxx
Subject: [PATCH Linux-2.6.8-rc1] prism54 Fix wrong type for BSSID
From: margitsw@xxxxxxxxxxx (Margit Schubert-While)
Date: Mon, 12 Jul 2004 21:08:16 +0200
Cc: netdev@xxxxxxxxxxx, prism54-devel@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: KMail/1.5.4
2004-07-12 Margit Schubert-While <margitsw@xxxxxxxxxxx>

* 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






Attachment: bssid.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH Linux-2.6.8-rc1] prism54 Fix wrong type for BSSID, Margit Schubert-While <=