Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: stricter checking for internal/net isLegalPort #5733

Closed
wants to merge 1 commit into from

Commits on Mar 21, 2016

  1. net: stricter checking for internal/net isLegalPort

    Add stricter testing for the isLegalPort method in internal/net.
    This ensures that odd inputs such as isLegalPort(true) and
    isLegalPort([1]) aren't acceptable as valid port inputs.
    jasnell committed Mar 21, 2016
    Configuration menu
    Copy the full SHA
    551e3d2 View commit details
    Browse the repository at this point in the history