linux/drivers/net/wireless
Johannes Thumshirn 9afdd6128c cw1200: Don't leak memory if krealloc failes
The call to krealloc() in wsm_buf_reserve() directly assigns the newly
returned memory to buf->begin. This is all fine except when krealloc()
failes we loose the ability to free the old memory pointed to by
buf->begin. If we just create a temporary variable to assign memory to
and assign the memory to it we can mitigate the memory leak.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2016-11-09 03:36:44 +02:00
..
admtek cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
ath Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2016-11-09 02:15:17 +02:00
atmel net: use core MTU range checking in wireless drivers 2016-10-20 14:51:08 -04:00
broadcom brcmfmac: proto: add callback for queuing TX data 2016-11-09 03:30:32 +02:00
cisco net: use core MTU range checking in wireless drivers 2016-10-20 14:51:08 -04:00
intel * Finalize and enable dynamic queue allocation; 2016-10-27 18:29:18 +03:00
intersil net: use core MTU range checking in wireless drivers 2016-10-20 14:51:08 -04:00
marvell mwifiex: fix missing destroy_workqueue() on error in mwifiex_add_virtual_intf() 2016-11-09 03:34:25 +02:00
mediatek mt7601u: use linux/bitfield.h 2016-09-09 12:09:25 +03:00
ralink rt2x00: add support for mac addr from device tree 2016-11-09 03:28:31 +02:00
realtek rtlwifi: Add explicit values to hw_variables enum 2016-09-27 18:46:03 +03:00
rsi rsi: eliminate superfluous NULL check 2016-06-14 17:17:58 +03:00
st cw1200: Don't leak memory if krealloc failes 2016-11-09 03:36:44 +02:00
ti wlcore: wl18xx: Use chip specific configuration firmware 2016-09-26 18:13:45 +03:00
zydas net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
Kconfig
mac80211_hwsim.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
mac80211_hwsim.h drivers/wireless: use nla_put_u64_64bit() 2016-04-26 12:00:48 -04:00
Makefile
ray_cs.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
ray_cs.h
rayctl.h
rndis_wlan.c nl80211: support beacon report scanning 2016-07-06 14:51:31 +02:00
wl3501_cs.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
wl3501.h