commit | 5046b31ef289f24ad95bfe8e15c67f476813d044 | [log] [tgz] |
---|---|---|
author | Martin Kreichgauer <martinkr@google.com> | Fri Apr 26 01:58:23 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Apr 26 01:58:23 2019 |
tree | 7fa539a73023e530f02f21e56a9588d8ec8accb1 | |
parent | e0fbdc8f9dffe027ee41aafa315c5a525c9afa94 [diff] |
webauth: fix potential use-after-free in VirtualFidoDiscovery VirtualFidoDiscovery posts a callback that's strongly bound to itself. However, the request might be terminated before the task is executed which would delete the discovery and result in a use-after-free. Use a WeakPtr instead. Bug: n/a Change-Id: I841390b38b0485c0dc59f243dbd715af76c9956e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1584437 Auto-Submit: Martin Kreichgauer <martinkr@google.com> Reviewed-by: Adam Langley <agl@chromium.org> Commit-Queue: Martin Kreichgauer <martinkr@google.com> Cr-Commit-Position: refs/heads/master@{#654308}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .