RESOLVED FIXED 197115
Web Inspector: Timelines: CPU: ensure that tracking stops when disconnecting Web Inspector
https://bugs.webkit.org/show_bug.cgi?id=197115
Summary Web Inspector: Timelines: CPU: ensure that tracking stops when disconnecting ...
Devin Rousso
Reported 2019-04-19 14:02:31 PDT
It may be possible to UAF the `InspectorCPUProfilerAgent`, since it adds itself (via a C++ lambda) as an observer to another object. If the inspector disconnects while actively recording, we currently don't remove that.
Attachments
Patch (1.48 KB, patch)
2019-04-19 14:03 PDT, Devin Rousso
no flags
Devin Rousso
Comment 1 2019-04-19 14:02:42 PDT
Devin Rousso
Comment 2 2019-04-19 14:03:33 PDT
Joseph Pecoraro
Comment 3 2019-04-19 16:24:24 PDT
Comment on attachment 367823 [details] Patch r=me. Are there any other agents that could benefit from this?
Devin Rousso
Comment 4 2019-04-19 16:27:15 PDT
(In reply to Joseph Pecoraro from comment #3) > r=me. Are there any other agents that could benefit from this? I checked the other timelines agents, and all of them either weren't susceptible or already had a "fix" for this issue.
WebKit Commit Bot
Comment 5 2019-04-19 17:33:26 PDT
Comment on attachment 367823 [details] Patch Clearing flags on attachment: 367823 Committed r244478: <https://trac.webkit.org/changeset/244478>
WebKit Commit Bot
Comment 6 2019-04-19 17:33:27 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.