commit | 6c76eb37d17e3ff21942e8d8279a9037b7533d6a | [log] [tgz] |
---|---|---|
author | Marie Janssen 💖 <jamuraa@google.com> | Wed Jul 08 20:25:58 2020 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Wed Jul 08 20:25:58 2020 +0000 |
tree | 3966a7b4e210ecbc51055c598ff30ef9795b9358 | |
parent | 8082b8c0574d06ceb50d694c330c43a78e5b000d [diff] |
[bt][hci] Fix use-after-free When removing the hci device, it was possible to call device_async_remove() after the device had completed it's unbind hook, which is not allowed. Protect against this by clearing out the zx_device_t pointer once we have been unbound. Bug: 53833 Bug: 53835 Change-Id: I56556f91956f222d0090725322fefc0f7cde95a7 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/405376 Reviewed-by: Jeff Belgum <belgum@google.com> Reviewed-by: John Grossman <johngro@google.com> Testability-Review: Jeff Belgum <belgum@google.com> Commit-Queue: Marie Janssen 💖 <jamuraa@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See fuchsia.dev.