commit | fe556ec56788b6e25f0b38617c95d73a0317c0c3 | [log] [tgz] |
---|---|---|
author | paulmeyer <paulmeyer@chromium.org> | Thu May 25 20:39:43 2017 |
committer | Commit bot <commit-bot@chromium.org> | Thu May 25 20:39:43 2017 |
tree | ca30fee2a19f63c7aa8bb75ac655b7afafebf330 | |
parent | d7effe401c76257f9f4311699f6e24efe8cc623a [diff] |
Prevent UAFs in GuestView objects. This patch utilizes a weak pointer in GuestViewContainer::OnHandleCallback() to ensure that |this| has not been deleted in the callback, thus preventing further use-after-free bugs of this type. BUG=718292 Review-Url: https://codereview.chromium.org/2907633002 Cr-Commit-Position: refs/heads/master@{#474788}