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

Issue 1641553007: Null check RenderWidgetHost pointer from RWHVChildFrame on input events (Closed)

Created:
4 years, 10 months ago by kenrb
Modified:
4 years, 10 months ago
Reviewers:
ncarter (slow)
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, nasko+codewatch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Null check RenderWidgetHost pointer from RWHVChildFrame on input events Crash reports associated with the --isolate-extensions trial show that a RenderWidgetHostViewChildFrame can receive mouse events even after Destroy has been called on it, resulting in a null pointer dereference since the RenderWidgetHost pointer has been cleared. This CL checks the pointer for null and discards the event if the RWHVCF is currently awaiting deletion. BUG=571092 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/b85b92b4639f690a9a523a910211d432dba568a2 Cr-Commit-Position: refs/heads/master@{#372211}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
kenrb
Nick: Would you mind giving this a quick review? I'm giving up (for now) on ...
4 years, 10 months ago (2016-01-28 20:51:24 UTC) #4
ncarter (slow)
OK as a stopgap lgtm
4 years, 10 months ago (2016-01-28 21:40:41 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1641553007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1641553007/1
4 years, 10 months ago (2016-01-28 22:28:43 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-01-29 00:09:44 UTC) #9
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/b85b92b4639f690a9a523a910211d432dba568a2 Cr-Commit-Position: refs/heads/master@{#372211}
4 years, 10 months ago (2016-01-29 00:10:36 UTC) #11
dcheng
On 2016/01/28 at 21:40:41, nick wrote: > OK as a stopgap lgtm +site-isolation-reviews Do we ...
4 years, 10 months ago (2016-01-29 05:20:11 UTC) #12
kenrb
4 years, 10 months ago (2016-01-29 15:21:20 UTC) #13
Message was sent while issue was closed.
On 2016/01/29 05:20:11, dcheng wrote:
> On 2016/01/28 at 21:40:41, nick wrote:
> > OK as a stopgap lgtm
> 
> +site-isolation-reviews
> 
> Do we have a bug filed to followup and investigate what's going on here?

We could reuse the original bug, or close that one when it is clear that the
crashes are resolved and file a new one.

Powered by Google App Engine
This is Rietveld 408576698