diff options
author | Tim Harvey <harvey.tim@gmail.com> | 2010-12-09 10:43:13 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-13 14:53:46 -0500 |
commit | c926d006c1514cfb3572893f41f2324e96823661 (patch) | |
tree | b76f1ac5f172f7a5ee47da767cdc31bd4e164e32 /firmware/tehuti | |
parent | 4a55d5852adbe66722fb1636c82c7864cd5be441 (diff) |
mac80211: Fix NULL-pointer deference on ibss merge when not ready
dev_open will eventually call ieee80211_ibss_join which sets up the
skb used for beacons/probe-responses however it is possible to
receive beacons that attempt to merge before this occurs causing
a null pointer dereference. Check ssid_len as that is the last
thing set in ieee80211_ibss_join.
This occurs quite easily in the presence of adhoc nodes with hidden SSID's
revised previous patch to check further up based on irc feedback
Signed-off-by: Tim Harvey <harvey.tim@gmail.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'firmware/tehuti')
0 files changed, 0 insertions, 0 deletions