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

Issue 2646043002: Reland "Fix sandbox::PolicyBase leak" (Closed)

Created:
3 years, 11 months ago by jbauman
Modified:
3 years, 10 months ago
Reviewers:
jam, Will Harris
CC:
chromium-reviews, pennymac+watch_chromium.org, darin-cc_chromium.org, wfh+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland "Fix sandbox::PolicyBase leak" StartSandboxedProcess was missing a Release call, so this was always leaking. Use scoped_refptr instead to fix that and prevent it from happening in the future. BUG=663019 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng Review-Url: https://codereview.chromium.org/2646043002 Cr-Commit-Position: refs/heads/master@{#448371} Committed: https://chromium.googlesource.com/chromium/src/+/17e392b12a3b8a59fc3ca9265d1d89cda2a5509d

Patch Set 1 #

Total comments: 2

Patch Set 2 : Original patch #

Patch Set 3 : updated and fix jobless bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -44 lines) Patch
M content/common/sandbox_init_win.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/sandbox_win.cc View 6 chunks +8 lines, -7 lines 0 comments Download
M sandbox/win/sandbox_poc/main_ui_window.cc View 2 chunks +1 line, -2 lines 0 comments Download
M sandbox/win/src/broker_services.h View 1 chunk +2 lines, -2 lines 0 comments Download
M sandbox/win/src/broker_services.cc View 2 8 chunks +16 lines, -9 lines 0 comments Download
M sandbox/win/src/policy_target_test.cc View 10 chunks +12 lines, -12 lines 0 comments Download
M sandbox/win/src/sandbox.h View 3 chunks +3 lines, -2 lines 0 comments Download
M sandbox/win/tests/common/controller.h View 1 chunk +1 line, -1 line 0 comments Download
M sandbox/win/tests/common/controller.cc View 2 2 chunks +2 lines, -7 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
jbauman
The only change from the previously landed version is that it leaks the PolicyBase when ...
3 years, 11 months ago (2017-01-24 00:08:09 UTC) #7
Will Harris
On 2017/01/24 00:08:09, jbauman wrote: > The only change from the previously landed version is ...
3 years, 10 months ago (2017-01-24 19:45:30 UTC) #8
Will Harris
I found all the changes. will review just these. https://codereview.chromium.org/2646043002/diff/1/sandbox/win/src/broker_services.cc File sandbox/win/src/broker_services.cc (right): https://codereview.chromium.org/2646043002/diff/1/sandbox/win/src/broker_services.cc#newcode462 sandbox/win/src/broker_services.cc:462: ...
3 years, 10 months ago (2017-01-24 19:47:32 UTC) #9
jbauman
Ok, uploaded the original (except rebased very slightly) as patch set 2 and the new ...
3 years, 10 months ago (2017-02-02 00:39:18 UTC) #10
Will Harris
lgtm. sorry for slow review. I think you need a reviewer for content/common/sandbox_init_win.cc as it ...
3 years, 10 months ago (2017-02-02 00:42:13 UTC) #11
jbauman
jam@: content/ OWNERS review please
3 years, 10 months ago (2017-02-02 00:48:32 UTC) #13
Will Harris
On 2017/02/02 00:42:13, Will Harris wrote: > lgtm. sorry for slow review. > > I ...
3 years, 10 months ago (2017-02-02 00:50:58 UTC) #14
jam
On 2017/02/02 00:48:32, jbauman wrote: > jam@: content/ OWNERS review please lgtm
3 years, 10 months ago (2017-02-06 18:40:52 UTC) #15
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/2646043002/40001
3 years, 10 months ago (2017-02-06 18:51:41 UTC) #17
commit-bot: I haz the power
3 years, 10 months ago (2017-02-06 20:24:03 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/17e392b12a3b8a59fc3ca9265d1d...

Powered by Google App Engine
This is Rietveld 408576698