aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2019-11-28 18:22:01 +0100
committerKalle Valo <[email protected]>2019-12-18 20:57:04 +0200
commit92aafe77123ab478e5f5095878856ab0424910da (patch)
treede87c06932dccc0ed79162d37f0323236a7c5f5a /tools/perf/scripts/python/intel-pt-events.py
parente93cd35101b61e4c79149be2cfc927c4b28dc60c (diff)
rsi: fix use-after-free on probe errors
The driver would fail to stop the command timer in most error paths, something which specifically could lead to the timer being freed while still active on I/O errors during probe. Fix this by making sure that each function starting the timer also stops it in all relevant error paths. Reported-by: [email protected] Fixes: b78e91bcfb33 ("rsi: Add new firmware loading method") Cc: stable <[email protected]> # 4.12 Cc: Prameela Rani Garnepudi <[email protected]> Cc: Amitkumar Karwar <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions