aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorArend Van Spriel <[email protected]>2017-03-28 09:11:30 +0100
committerKalle Valo <[email protected]>2017-03-30 19:43:51 +0300
commitd77facb88448cdeaaa3adba5b9704a48ac2ac8d6 (patch)
tree52a9ee41042d543f0dd0a420f8d4912ea6e41863 /tools/perf/scripts/python/export-to-postgresql.py
parent893dc68f1b18451e6d550b1884fc6be76e1bb90c (diff)
brcmfmac: use local iftype avoiding use-after-free of virtual interface
A use-after-free was found using KASAN. In brcmf_p2p_del_if() the virtual interface is removed using call to brcmf_remove_interface(). After that the virtual interface instance has been freed and should not be referenced. Solve this by storing the nl80211 iftype in local variable, which is used in a couple of places anyway. Cc: [email protected] # 4.10.x, 4.9.x Reported-by: Daniel J Blueman <[email protected]> Reviewed-by: Hante Meuleman <[email protected]> Reviewed-by: Pieter-Paul Giesberts <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions