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

Issue 2361373003: Throw an ArgumentError if the port is out of range (Closed)

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

Description

Throw an ArgumentError if the port is out of range fixes #27416 R=johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/a76aa4e70c2ec91f5d913951a15f0044d5f252d8

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comments #

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -10 lines) Patch
M runtime/bin/socket_patch.dart View 1 7 chunks +12 lines, -4 lines 0 comments Download
M tests/standalone/io/socket_invalid_arguments_test.dart View 3 chunks +15 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
zra
4 years, 3 months ago (2016-09-23 18:02:12 UTC) #3
Cutch
LGTM with a suggestion https://codereview.chromium.org/2361373003/diff/1/runtime/bin/socket_patch.dart File runtime/bin/socket_patch.dart (right): https://codereview.chromium.org/2361373003/diff/1/runtime/bin/socket_patch.dart#newcode535 runtime/bin/socket_patch.dart:535: if ((port == null) || ...
4 years, 3 months ago (2016-09-23 18:05:45 UTC) #4
zra
https://codereview.chromium.org/2361373003/diff/1/runtime/bin/socket_patch.dart File runtime/bin/socket_patch.dart (right): https://codereview.chromium.org/2361373003/diff/1/runtime/bin/socket_patch.dart#newcode535 runtime/bin/socket_patch.dart:535: if ((port == null) || (port < 0) || ...
4 years, 3 months ago (2016-09-23 18:12:49 UTC) #5
zra
4 years, 3 months ago (2016-09-23 18:12:58 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
a76aa4e70c2ec91f5d913951a15f0044d5f252d8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698