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

Issue 2682223005: Fix nullptr dereference in thread-safe Channel forwarding (Closed)

Created:
3 years, 10 months ago by Ken Rockot(use gerrit already)
Modified:
3 years, 10 months ago
Reviewers:
yzshen1
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix nullptr dereference in thread-safe Channel forwarding It's possible to hit IPc::ChannelMojo::ForwardMessage* while the MessagePipeReader is still alive but has closed its sender binding. This fixes that. BUG=690493 TEST=content_browsertests with ASAN Review-Url: https://codereview.chromium.org/2682223005 Cr-Commit-Position: refs/heads/master@{#449413} Committed: https://chromium.googlesource.com/chromium/src/+/67b4b0c5317c2a8e30e141540697200094b9bff3

Patch Set 1 : . #

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M ipc/ipc_channel_mojo.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (18 generated)
Ken Rockot(use gerrit already)
3 years, 10 months ago (2017-02-09 19:16:02 UTC) #9
yzshen1
lgtm
3 years, 10 months ago (2017-02-09 19:18:20 UTC) #11
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/2682223005/40001
3 years, 10 months ago (2017-02-09 20:33:02 UTC) #19
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 21:26:03 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/67b4b0c5317c2a8e30e141540697...

Powered by Google App Engine
This is Rietveld 408576698