linux-stable-rt/net/wireless
Johannes Berg 65486c8b30 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>
2009-12-28 16:19:58 -05:00
..
Kconfig
Makefile
chan.c
core.c wireless : use a dedicated workqueue for cfg80211. 2009-11-28 15:05:00 -05:00
core.h wireless : use a dedicated workqueue for cfg80211. 2009-11-28 15:05:00 -05:00
debugfs.c
debugfs.h
ethtool.c
ethtool.h
ibss.c wireless : use a dedicated workqueue for cfg80211. 2009-11-28 15:05:00 -05:00
lib80211.c
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c
lib80211_crypt_wep.c
mlme.c cfg80211: fix race between deauth and assoc response 2009-12-28 16:19:54 -05:00
nl80211.c nl80211: PMKSA caching support 2009-11-28 15:05:05 -05:00
nl80211.h
radiotap.c
reg.c wireless: update old static regulatory domain rules 2009-12-10 16:21:51 -05:00
reg.h
scan.c cfg80211: fix error path in cfg80211_wext_siwscan 2009-12-28 16:19:58 -05:00
sme.c wireless : use a dedicated workqueue for cfg80211. 2009-11-28 15:05:00 -05:00
sysfs.c
sysfs.h
util.c
wext-compat.c cfg80211: Clear encryption privacy when key off is done. 2009-12-09 15:10:08 -05:00
wext-compat.h
wext-core.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2009-12-04 13:25:15 -08:00
wext-priv.c
wext-proc.c
wext-sme.c
wext-spy.c