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

Issue 2346863004: Speculative fix for OnSwapCompositorFrame crasher. (Closed)

Created:
4 years, 3 months ago by wjmaclean
Modified:
4 years, 3 months ago
Reviewers:
kenrb, Charlie Reis
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Speculative fix for OnSwapCompositorFrame crasher. Speculative fix for crasher in RenderWidgetHostViewGuest:: OnSwapCompositorFrame(), in case it is caused by guest_ being null. BUG=646736 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/fb98885220ad4096b09634f154aa4907fda603ba Cr-Commit-Position: refs/heads/master@{#419586}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Don't try to set surface if guest is destructing. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -3 lines) Patch
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 2 chunks +9 lines, -3 lines 1 comment Download

Messages

Total messages: 33 (18 generated)
wjmaclean
** tiny cl ** kenrb@ - I'd be interested in your thoughts on this ...
4 years, 3 months ago (2016-09-15 20:55:40 UTC) #6
kenrb
While a null check there might be reasonable, since there is a null check earlier ...
4 years, 3 months ago (2016-09-15 21:20:41 UTC) #7
wjmaclean
On 2016/09/15 21:20:41, kenrb wrote: > While a null check there might be reasonable, since ...
4 years, 3 months ago (2016-09-16 13:02:06 UTC) #10
kenrb
My mistake, there isn't an earlier check in the method. lgtm with a suggestion, although ...
4 years, 3 months ago (2016-09-16 13:37:31 UTC) #11
wjmaclean
https://codereview.chromium.org/2346863004/diff/1/content/browser/frame_host/render_widget_host_view_guest.cc File content/browser/frame_host/render_widget_host_view_guest.cc (right): https://codereview.chromium.org/2346863004/diff/1/content/browser/frame_host/render_widget_host_view_guest.cc#newcode286 content/browser/frame_host/render_widget_host_view_guest.cc:286: (guest_ && guest_->has_attached_since_surface_set())) { On 2016/09/16 13:37:31, kenrb wrote: ...
4 years, 3 months ago (2016-09-16 13:47:23 UTC) #12
wjmaclean
creis@ - tiny CL, can you take a look?
4 years, 3 months ago (2016-09-16 13:49:33 UTC) #14
Charlie Reis
Hmm, it sounds like there's a deeper problem here that a null check is not ...
4 years, 3 months ago (2016-09-16 21:30:44 UTC) #15
wjmaclean
creis@ ptal? See comments below. On 2016/09/16 21:30:44, Charlie Reis (slow) wrote: > Hmm, it ...
4 years, 3 months ago (2016-09-17 17:34:07 UTC) #18
Charlie Reis
I don't think your change in PS2 would help if it's really a UaF on ...
4 years, 3 months ago (2016-09-19 17:29:22 UTC) #21
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/2346863004/20001
4 years, 3 months ago (2016-09-19 18:26:03 UTC) #24
wjmaclean
On 2016/09/19 17:29:22, Charlie Reis (slow) wrote: > I don't think your change in PS2 ...
4 years, 3 months ago (2016-09-19 18:27:46 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_site_isolation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_site_isolation/builds/3432)
4 years, 3 months ago (2016-09-19 21:08:53 UTC) #27
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/2346863004/20001
4 years, 3 months ago (2016-09-19 21:17:40 UTC) #29
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-19 22:03:22 UTC) #31
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 22:05:24 UTC) #33
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fb98885220ad4096b09634f154aa4907fda603ba
Cr-Commit-Position: refs/heads/master@{#419586}

Powered by Google App Engine
This is Rietveld 408576698