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

Issue 2378253002: BlobDispatcherHost: don't rely on NOTREACHED() checks in ParamTraits::Read (Closed)

Created:
4 years, 2 months ago by ncarter (slow)
Modified:
4 years, 2 months ago
Reviewers:
dcheng
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

BlobDispatcherHost: don't rely on NOTREACHED() checks in ParamTraits::Read Explicitly handle all possible storage::DataElement cases, and add comments explaining the purpose of existing security checks. BUG=644966 TEST=content_browsertests Committed: https://crrev.com/87d0b2931a2ab2c4a50d220a51e36aea9a351d44 Cr-Commit-Position: refs/heads/master@{#423621}

Patch Set 1 #

Total comments: 2

Patch Set 2 : notreached #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -27 lines) Patch
M content/browser/blob_storage/blob_dispatcher_host.cc View 1 1 chunk +39 lines, -19 lines 0 comments Download
M content/common/resource_messages.cc View 4 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
ncarter (slow)
dcheng, PTAL
4 years, 2 months ago (2016-09-28 20:22:01 UTC) #4
dcheng
https://codereview.chromium.org/2378253002/diff/1/content/browser/blob_storage/blob_dispatcher_host.cc File content/browser/blob_storage/blob_dispatcher_host.cc (right): https://codereview.chromium.org/2378253002/diff/1/content/browser/blob_storage/blob_dispatcher_host.cc#newcode190 content/browser/blob_storage/blob_dispatcher_host.cc:190: CHECK(false); // Should have been caught by IPC deserialization. ...
4 years, 2 months ago (2016-09-28 23:46:37 UTC) #7
ncarter (slow)
ptal https://codereview.chromium.org/2378253002/diff/1/content/browser/blob_storage/blob_dispatcher_host.cc File content/browser/blob_storage/blob_dispatcher_host.cc (right): https://codereview.chromium.org/2378253002/diff/1/content/browser/blob_storage/blob_dispatcher_host.cc#newcode190 content/browser/blob_storage/blob_dispatcher_host.cc:190: CHECK(false); // Should have been caught by IPC ...
4 years, 2 months ago (2016-10-05 23:18:46 UTC) #8
dcheng
lgtm
4 years, 2 months ago (2016-10-05 23:38:53 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/2378253002/20001
4 years, 2 months ago (2016-10-06 18:12:45 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-06 19:08:35 UTC) #12
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 19:11:34 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/87d0b2931a2ab2c4a50d220a51e36aea9a351d44
Cr-Commit-Position: refs/heads/master@{#423621}

Powered by Google App Engine
This is Rietveld 408576698