linux/drivers/net/wireless/realtek
Colin Ian King d0116f6f7b rtlwifi: kfree entry until after entry->bssid has been accessed
The current code kfree's entry and then dereferences it by accessing
entry->bssid.  Avoid the dereference-after-free by moving the kfree
after the access to entry->bssid.

Detected by CoverityScan, CID#1448600 ("Read from pointer after free")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2017-07-27 13:58:18 +03:00
..
rtl8xxxu networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
rtl818x networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
rtlwifi rtlwifi: kfree entry until after entry->bssid has been accessed 2017-07-27 13:58:18 +03:00
Kconfig realtek: create separate Kconfig file 2015-11-18 14:28:31 +02:00
Makefile