Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Issue 2317363004: Fix use-after-free in ~GpuProcessTransportFactory (Closed)

Created:
4 years, 3 months ago by enne (OOO)
Modified:
4 years, 3 months ago
Reviewers:
danakj
CC:
chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, piman+watch_chromium.org, sievers+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix use-after-free in ~GpuProcessTransportFactory Previously, this used to leak, but now that it gets destroyed during shutdown, this DCHECK turns into a security issue. Work around this by clearing data in the correct order even if it should already be cleared prior to destruction. R=danakj@chromium.org BUG=645075 Committed: https://crrev.com/15ca791b6abd8cabac85497ea6290b276cb38152 Cr-Commit-Position: refs/heads/master@{#417620}

Patch Set 1 #

Patch Set 2 : Just change data order #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M content/browser/compositor/gpu_process_transport_factory.h View 1 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
enne (OOO)
Enjoy this bandaid <_< Alternatively, newly minted windows mains could repro this locally to understand ...
4 years, 3 months ago (2016-09-08 23:03:13 UTC) #1
danakj
LGTM
4 years, 3 months ago (2016-09-08 23:13:41 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2317363004/20001
4 years, 3 months ago (2016-09-08 23:14:46 UTC) #4
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/260282) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 3 months ago (2016-09-08 23:22:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2317363004/20001
4 years, 3 months ago (2016-09-09 17:37:19 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-09 17:41:26 UTC) #13
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 17:44:05 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/15ca791b6abd8cabac85497ea6290b276cb38152
Cr-Commit-Position: refs/heads/master@{#417620}

Powered by Google App Engine
This is Rietveld 408576698