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

Issue 1077893005: UpdateProcThreadAttribute has a restriction that its lpValue parameter (Closed)

Created:
5 years, 8 months ago by majnemer
Modified:
5 years, 8 months ago
CC:
chromium-reviews, wfh+watch_chromium.org, rickyz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

UpdateProcThreadAttribute has a restriction that its lpValue parameter live until DeleteProcThreadAttributeList is called. An optimization in clang exposed this bug (https://llvm.org/bugs/show_bug.cgi?id=23220). Covered by existing tests: ProcessMitigationsTest.CheckDep BUG=476316 Committed: https://crrev.com/a9f5526d0568508ab6e4913e23d3c8f33d040010 Cr-Commit-Position: refs/heads/master@{#326347}

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M sandbox/win/src/broker_services.cc View 1 3 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (4 generated)
majnemer
5 years, 8 months ago (2015-04-20 18:09:54 UTC) #2
Nico
lgtm, nice work tracking this down!
5 years, 8 months ago (2015-04-20 18:11:16 UTC) #3
Nico
(ima check cq so that this gets try runs; cpu please stamp at your convenience)
5 years, 8 months ago (2015-04-20 18:11:40 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1077893005/1
5 years, 8 months ago (2015-04-20 18:12:46 UTC) #6
Nico
https://codereview.chromium.org/1077893005/diff/1/sandbox/win/src/broker_services.cc File sandbox/win/src/broker_services.cc (left): https://codereview.chromium.org/1077893005/diff/1/sandbox/win/src/broker_services.cc#oldcode427 sandbox/win/src/broker_services.cc:427: HANDLE inherit_handle_list[2]; Now that I look at this again, ...
5 years, 8 months ago (2015-04-20 18:25:10 UTC) #7
Nico
Maybe we should change StartupInformation::UpdateProcThreadAttribute() to make a copy of its argument and fix this ...
5 years, 8 months ago (2015-04-20 18:26:44 UTC) #8
majnemer
On 2015/04/20 18:26:44, Nico wrote: > Maybe we should change StartupInformation::UpdateProcThreadAttribute() to make a > ...
5 years, 8 months ago (2015-04-20 18:56:36 UTC) #9
Nico
lgtm, let's hope this is all of these then. I did an audit of all ...
5 years, 8 months ago (2015-04-20 19:02:10 UTC) #10
majnemer
https://codereview.chromium.org/1077893005/diff/1/sandbox/win/src/broker_services.cc File sandbox/win/src/broker_services.cc (left): https://codereview.chromium.org/1077893005/diff/1/sandbox/win/src/broker_services.cc#oldcode427 sandbox/win/src/broker_services.cc:427: HANDLE inherit_handle_list[2]; On 2015/04/20 18:25:10, Nico wrote: > Now ...
5 years, 8 months ago (2015-04-20 21:08:54 UTC) #11
Nico
jln, can you stamp this? rvargas and jschuh are OOO this month, and cpu is ...
5 years, 8 months ago (2015-04-22 16:37:43 UTC) #13
jln (very slow on Chromium)
lgtm, thanks for the fix +wfh FYI
5 years, 8 months ago (2015-04-22 17:27:36 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1077893005/20001
5 years, 8 months ago (2015-04-22 17:30:23 UTC) #16
Will Harris
I sort of agree with #8 that we shoudl encapsulate this inside StartupInformation class otherwise ...
5 years, 8 months ago (2015-04-22 17:37:03 UTC) #17
Will Harris
On 2015/04/22 17:37:03, Will Harris wrote: > I sort of agree with #8 that we ...
5 years, 8 months ago (2015-04-22 17:38:12 UTC) #18
jln (very slow on Chromium)
A refactor seems like a good idea. But how about letting this be committed and ...
5 years, 8 months ago (2015-04-22 17:52:20 UTC) #19
Nico
On 2015/04/22 17:52:20, jln wrote: > A refactor seems like a good idea. But how ...
5 years, 8 months ago (2015-04-22 17:59:00 UTC) #20
Will Harris
I'm happy with a comment and a TODO being added to startup_information.h to warn about ...
5 years, 8 months ago (2015-04-22 18:00:02 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 8 months ago (2015-04-22 18:38:58 UTC) #22
commit-bot: I haz the power
5 years, 8 months ago (2015-04-22 18:39:55 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a9f5526d0568508ab6e4913e23d3c8f33d040010
Cr-Commit-Position: refs/heads/master@{#326347}

Powered by Google App Engine
This is Rietveld 408576698