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

Issue 2214293002: [BlobStorage] Added back security policy for files in blobs (Closed)

Created:
4 years, 4 months ago by dmurph
Modified:
4 years, 4 months ago
Reviewers:
michaeln, kinuko, jsbell
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[BlobStorage] Added back security policy for files in blobs BUG=634557 Committed: https://crrev.com/a85b6e5f4d01bf0593612d0552d0c7a1ad7bc87f Cr-Commit-Position: refs/heads/master@{#412013}

Patch Set 1 #

Total comments: 2

Patch Set 2 : forgot filesystem #

Total comments: 12

Patch Set 3 : comments #

Patch Set 4 : Made file system context refptr #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -11 lines) Patch
M content/browser/blob_storage/blob_dispatcher_host.h View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
M content/browser/blob_storage/blob_dispatcher_host.cc View 1 2 3 4 chunks +39 lines, -2 lines 0 comments Download
M content/browser/blob_storage/blob_dispatcher_host_unittest.cc View 1 2 3 8 chunks +20 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 23 (12 generated)
dmurph
Hey all, This is the security fix we talked about in the email. Tests will ...
4 years, 4 months ago (2016-08-05 00:33:22 UTC) #2
kinuko
https://codereview.chromium.org/2214293002/diff/1/content/browser/blob_storage/blob_dispatcher_host.cc File content/browser/blob_storage/blob_dispatcher_host.cc (right): https://codereview.chromium.org/2214293002/diff/1/content/browser/blob_storage/blob_dispatcher_host.cc#newcode146 content/browser/blob_storage/blob_dispatcher_host.cc:146: !security_policy_->CanReadFile(process_id_, item.path())) { I think we used to have ...
4 years, 4 months ago (2016-08-05 00:39:36 UTC) #3
dmurph
https://codereview.chromium.org/2214293002/diff/1/content/browser/blob_storage/blob_dispatcher_host.cc File content/browser/blob_storage/blob_dispatcher_host.cc (right): https://codereview.chromium.org/2214293002/diff/1/content/browser/blob_storage/blob_dispatcher_host.cc#newcode146 content/browser/blob_storage/blob_dispatcher_host.cc:146: !security_policy_->CanReadFile(process_id_, item.path())) { On 2016/08/05 00:39:36, kinuko wrote: > ...
4 years, 4 months ago (2016-08-05 01:15:51 UTC) #6
kinuko
Looks reasonable, some nits... https://codereview.chromium.org/2214293002/diff/20001/content/browser/blob_storage/blob_dispatcher_host.cc File content/browser/blob_storage/blob_dispatcher_host.cc (right): https://codereview.chromium.org/2214293002/diff/20001/content/browser/blob_storage/blob_dispatcher_host.cc#newcode52 content/browser/blob_storage/blob_dispatcher_host.cc:52: security_policy_(ChildProcessSecurityPolicyImpl::GetInstance()), Do we want to ...
4 years, 4 months ago (2016-08-05 15:27:31 UTC) #9
dmurph
https://codereview.chromium.org/2214293002/diff/20001/content/browser/blob_storage/blob_dispatcher_host.cc File content/browser/blob_storage/blob_dispatcher_host.cc (right): https://codereview.chromium.org/2214293002/diff/20001/content/browser/blob_storage/blob_dispatcher_host.cc#newcode52 content/browser/blob_storage/blob_dispatcher_host.cc:52: security_policy_(ChildProcessSecurityPolicyImpl::GetInstance()), On 2016/08/05 15:27:31, kinuko wrote: > Do we ...
4 years, 4 months ago (2016-08-05 19:12:45 UTC) #12
kinuko
lgtm https://codereview.chromium.org/2214293002/diff/20001/content/browser/blob_storage/blob_dispatcher_host.h File content/browser/blob_storage/blob_dispatcher_host.h (right): https://codereview.chromium.org/2214293002/diff/20001/content/browser/blob_storage/blob_dispatcher_host.h#newcode140 content/browser/blob_storage/blob_dispatcher_host.h:140: storage::FileSystemContext* file_system_context_; On 2016/08/05 19:12:45, dmurph wrote: > ...
4 years, 4 months ago (2016-08-08 15:52:28 UTC) #15
michaeln
On 2016/08/08 15:52:28, kinuko wrote: > lgtm > > https://codereview.chromium.org/2214293002/diff/20001/content/browser/blob_storage/blob_dispatcher_host.h > File content/browser/blob_storage/blob_dispatcher_host.h (right): lgtm ...
4 years, 4 months ago (2016-08-11 00:55:07 UTC) #16
dmurph
done https://codereview.chromium.org/2214293002/diff/20001/content/browser/blob_storage/blob_dispatcher_host.h File content/browser/blob_storage/blob_dispatcher_host.h (right): https://codereview.chromium.org/2214293002/diff/20001/content/browser/blob_storage/blob_dispatcher_host.h#newcode140 content/browser/blob_storage/blob_dispatcher_host.h:140: storage::FileSystemContext* file_system_context_; On 2016/08/08 15:52:28, kinuko wrote: > ...
4 years, 4 months ago (2016-08-15 18:25:04 UTC) #17
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/2214293002/60001
4 years, 4 months ago (2016-08-15 18:25:32 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-15 19:16:58 UTC) #21
commit-bot: I haz the power
4 years, 4 months ago (2016-08-15 19:19:46 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a85b6e5f4d01bf0593612d0552d0c7a1ad7bc87f
Cr-Commit-Position: refs/heads/master@{#412013}

Powered by Google App Engine
This is Rietveld 408576698