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

Issue 2915813002: Add missing return statement after ReceivedBadMessage call. (Closed)

Created:
3 years, 6 months ago by jam
Modified:
3 years, 6 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org, ncarter (slow), nasko
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add missing return statement after ReceivedBadMessage call. This prevents the scheme access being granted and used if the renderer is restarted. BUG=726142 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2915813002 Cr-Commit-Position: refs/heads/master@{#476161} Committed: https://chromium.googlesource.com/chromium/src/+/d5226ddf44a52a3f066755e8d32710f6a093aa30

Patch Set 1 #

Total comments: 2

Patch Set 2 : review comment #

Total comments: 5

Patch Set 3 : review comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -6 lines) Patch
M content/browser/browser_side_navigation_browsertest.cc View 1 2 5 chunks +56 lines, -6 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 40 (32 generated)
jam
Thanks for catching the earlier bug. This patch should hopefully make this not possible again.
3 years, 6 months ago (2017-05-31 14:56:42 UTC) #5
Charlie Reis
On 2017/05/31 14:56:42, jam wrote: > Thanks for catching the earlier bug. This patch should ...
3 years, 6 months ago (2017-05-31 17:28:22 UTC) #13
jam
https://codereview.chromium.org/2915813002/diff/20001/content/browser/child_process_security_policy_browsertest.cc File content/browser/child_process_security_policy_browsertest.cc (right): https://codereview.chromium.org/2915813002/diff/20001/content/browser/child_process_security_policy_browsertest.cc#newcode80 content/browser/child_process_security_policy_browsertest.cc:80: ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(child_id, On 2017/05/31 17:28:23, Charlie Reis wrote: > This ...
3 years, 6 months ago (2017-05-31 23:26:15 UTC) #22
Charlie Reis
Thanks! Fix looks good. One question about the data URL in the test. https://codereview.chromium.org/2915813002/diff/100001/content/browser/browser_side_navigation_browsertest.cc File ...
3 years, 6 months ago (2017-06-01 00:33:43 UTC) #28
jam
https://codereview.chromium.org/2915813002/diff/100001/content/browser/browser_side_navigation_browsertest.cc File content/browser/browser_side_navigation_browsertest.cc (right): https://codereview.chromium.org/2915813002/diff/100001/content/browser/browser_side_navigation_browsertest.cc#newcode475 content/browser/browser_side_navigation_browsertest.cc:475: data_url, Referrer(), ui::PAGE_TRANSITION_LINK, On 2017/06/01 00:33:43, Charlie Reis wrote: ...
3 years, 6 months ago (2017-06-01 00:51:19 UTC) #30
Charlie Reis
LGTM https://codereview.chromium.org/2915813002/diff/100001/content/browser/browser_side_navigation_browsertest.cc File content/browser/browser_side_navigation_browsertest.cc (right): https://codereview.chromium.org/2915813002/diff/100001/content/browser/browser_side_navigation_browsertest.cc#newcode475 content/browser/browser_side_navigation_browsertest.cc:475: data_url, Referrer(), ui::PAGE_TRANSITION_LINK, On 2017/06/01 00:51:19, jam wrote: ...
3 years, 6 months ago (2017-06-01 01:00:09 UTC) #33
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/2915813002/120001
3 years, 6 months ago (2017-06-01 01:06:25 UTC) #36
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 02:35:04 UTC) #40
Message was sent while issue was closed.
Committed patchset #3 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/d5226ddf44a52a3f066755e8d327...

Powered by Google App Engine
This is Rietveld 408576698