Messages in this thread | | | Date | Wed, 6 Jan 2010 14:55:03 -0500 | From | "John W. Linville" <> | Subject | Re: [PATCH 1/2] net: wireless, fix lock imbalance |
| |
On Wed, Jan 06, 2010 at 05:35:42PM +0100, Jiri Slaby wrote: > One fail path in cfg80211_wext_siwscan omits to unlock rdev->mtx. > Fix that. > > Trigerrable by "Scan for SSID" with long enough SSID (> 32). > > Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Both this and the next one are already fixed in wireless-2.6...
commit 65486c8b30498dd274eea2c542696f22b63fe5b8 Author: Johannes Berg <johannes@sipsolutions.net> Date: Wed Dec 23 15:33:35 2009 +0100
cfg80211: fix error path in cfg80211_wext_siwscan
If there's an invalid channel or SSID, the code leaks the scan request. Always free the scan request, unless it was successfully given to the driver.
Reported-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: Dan Carpenter <error27@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-- John W. Linville Someday the world will need a hero, and you linville@tuxdriver.com might be all we have. Be ready.
| |