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

Issue 2635253002: VM eventhandler: Read "old" event mask before it can be modified. (Closed)

Created:
3 years, 11 months ago by zra
Modified:
3 years, 11 months ago
Reviewers:
Cutch, kustermann
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

VM eventhandler: Read "old" event mask before it can be modified. related #24417 R=johnmccutchan@google.com, kustermann@google.com Committed: https://github.com/dart-lang/sdk/commit/e2220c3ea88844a82f075a4a07623780f49c8dd3

Patch Set 1 #

Total comments: 12

Patch Set 2 : Revert previous changes. Read correct old_mask. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -6 lines) Patch
M runtime/bin/eventhandler_android.cc View 1 1 chunk +6 lines, -1 line 0 comments Download
M runtime/bin/eventhandler_fuchsia.cc View 1 2 chunks +1 line, -2 lines 0 comments Download
M runtime/bin/eventhandler_linux.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M runtime/bin/eventhandler_macos.cc View 1 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (3 generated)
zra
3 years, 11 months ago (2017-01-17 17:07:02 UTC) #2
Cutch
RS LGTM
3 years, 11 months ago (2017-01-17 17:33:01 UTC) #3
kustermann
@zach: If you are not in a hurry with this, please hold it off. When ...
3 years, 11 months ago (2017-01-17 17:51:26 UTC) #4
zra
On 2017/01/17 17:51:26, kustermann wrote: > @zach: If you are not in a hurry with ...
3 years, 11 months ago (2017-01-17 17:54:34 UTC) #5
kustermann
Not 100% sure if I'm reading the kevent() man page correctly, but I think this ...
3 years, 11 months ago (2017-01-20 12:22:49 UTC) #6
zra
https://codereview.chromium.org/2635253002/diff/1/runtime/bin/eventhandler_macos.cc File runtime/bin/eventhandler_macos.cc (right): https://codereview.chromium.org/2635253002/diff/1/runtime/bin/eventhandler_macos.cc#newcode392 runtime/bin/eventhandler_macos.cc:392: intptr_t old_mask = di->Mask(); I'm pretty sure the problem ...
3 years, 11 months ago (2017-01-20 15:54:30 UTC) #7
zra
The fix is to read the old_mask before it might be modified by sending the ...
3 years, 11 months ago (2017-01-20 17:16:32 UTC) #8
kustermann
LGTM
3 years, 11 months ago (2017-01-23 11:47:59 UTC) #9
kustermann
https://codereview.chromium.org/2635253002/diff/1/runtime/bin/eventhandler_macos.cc File runtime/bin/eventhandler_macos.cc (right): https://codereview.chromium.org/2635253002/diff/1/runtime/bin/eventhandler_macos.cc#newcode392 runtime/bin/eventhandler_macos.cc:392: intptr_t old_mask = di->Mask(); On 2017/01/20 15:54:30, zra wrote: ...
3 years, 11 months ago (2017-01-23 11:49:34 UTC) #10
zra
3 years, 11 months ago (2017-01-23 16:54:58 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
e2220c3ea88844a82f075a4a07623780f49c8dd3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698