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

Issue 217693002: - Make ports be less predictable. (Closed)

Created:
6 years, 9 months ago by Ivan Posva
Modified:
6 years, 9 months ago
Reviewers:
hausner, kasperl
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

- Make ports be less predictable. - Limit the range of port numbers to 30-bits. - Parse the ports as 64-bit values when reading from the wire in the debugger protocol. R=hausner@google.com Committed: https://code.google.com/p/dart/source/detail?r=34542

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -16 lines) Patch
M runtime/bin/dbg_connection.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M runtime/bin/dbg_message.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/dbg_message.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M runtime/vm/message_handler.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M runtime/vm/port.h View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/port.cc View 3 chunks +10 lines, -7 lines 2 comments Download
M runtime/vm/random.h View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Ivan Posva
Most of this CL has already been reviewed as part of https://codereview.chromium.org/198463007 Changes include: - ...
6 years, 9 months ago (2014-03-28 22:23:45 UTC) #1
hausner
LGTM. https://codereview.chromium.org/217693002/diff/1/runtime/vm/port.cc File runtime/vm/port.cc (right): https://codereview.chromium.org/217693002/diff/1/runtime/vm/port.cc#newcode71 runtime/vm/port.cc:71: while ((result == 0) || (FindPort(result) >= 0)) ...
6 years, 9 months ago (2014-03-28 23:27:30 UTC) #2
Ivan Posva
Thanks, -Ivan https://codereview.chromium.org/217693002/diff/1/runtime/vm/port.cc File runtime/vm/port.cc (right): https://codereview.chromium.org/217693002/diff/1/runtime/vm/port.cc#newcode71 runtime/vm/port.cc:71: while ((result == 0) || (FindPort(result) >= ...
6 years, 9 months ago (2014-03-28 23:39:25 UTC) #3
Ivan Posva
6 years, 9 months ago (2014-03-28 23:39:41 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r34542 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698