diff options
author | 2017-06-30 11:08:43 +0100 | |
---|---|---|
committer | 2017-07-27 13:58:18 +0300 | |
commit | d0116f6f7b306bc2d1bfc98d7c7c80fe5f468c20 (patch) | |
tree | 3b6e61f28156cb110ef8b1be486f285009c594eb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | mwifiex: correct channel stat buffer overflows (diff) | |
download | wireguard-linux-d0116f6f7b306bc2d1bfc98d7c7c80fe5f468c20.tar.xz wireguard-linux-d0116f6f7b306bc2d1bfc98d7c7c80fe5f468c20.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions