aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2012-09-13 10:33:28 +0800
committerJohn W. Linville <[email protected]>2012-09-24 14:59:07 -0400
commite962610f8100e1b52973f5a9c855cbc3d1ba04ec (patch)
treed84c4d149bb6624b972e07d6cdf32eaeb1d6ae2d /tools/perf/scripts/python/netdev-times.py
parent7a03414686d8e01c660bf69df22cafcfd2753626 (diff)
wireless: ath9k-htc: fix possible use after free
Inside ath9k_hif_usb_firmware_fail(), the instance of 'struct struct hif_device_usb' may be freed by ath9k_hif_usb_disconnect() after complete(&hif_dev->fw_done); But 'hif_dev' is still accessed after the line code above is executed. This patch fixes the issue by not accessing 'hif_dev' after 'complete(&hif_dev->fw_done)' inside ath9k_hif_usb_firmware_fail(). Cc: [email protected] Cc: "Luis R. Rodriguez" <[email protected]> Cc: Jouni Malinen <[email protected]> Cc: Vasanthakumar Thiagarajan <[email protected]> Cc: Senthil Balasubramanian <[email protected]> Cc: "John W. Linville" <[email protected]> Signed-off-by: Ming Lei <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions