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

Issue 2721393002: Change CHECK into DCHECK. (Closed)

Created:
3 years, 9 months ago by nasko
Modified:
3 years, 9 months ago
Reviewers:
Charlie Reis, jam
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

Change CHECK into DCHECK. Code in the browser process should not be doing a CHECK based on data coming from the renderer process, as this allows a compromised renderer to trivially kill the whole browser. BUG=688425 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2721393002 Cr-Commit-Position: refs/heads/master@{#454047} Committed: https://chromium.googlesource.com/chromium/src/+/43f7ab4d121be7ad05f31728ccc130d500232031

Patch Set 1 #

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

Messages

Total messages: 15 (10 generated)
nasko
Hey John, Do you mind stamping this CL for me? Thanks! Nasko
3 years, 9 months ago (2017-03-01 17:57:54 UTC) #3
Charlie Reis
LGTM. Let's continue to investigate a better fix via https://crbug.com/596707.
3 years, 9 months ago (2017-03-01 21:40:22 UTC) #9
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/2721393002/1
3 years, 9 months ago (2017-03-01 21:42:22 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/43f7ab4d121be7ad05f31728ccc130d500232031
3 years, 9 months ago (2017-03-01 21:48:28 UTC) #14
jam
3 years, 9 months ago (2017-03-01 22:03:20 UTC) #15
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2729613003/ by jam@chromium.org.

The reason for reverting is: (per discussion, I was using this to get a signal.
I'll send a cl to fix).

Powered by Google App Engine
This is Rietveld 408576698