Skip to content

UdpSocket::bind() accepts invalid IPv6 address #23076

Closed

Description

@manuels

The IPv6 address in

let s = UdpSocket::bind("1200::AB00:1234::2552:7777:1313:34300").unwrap();

is invalid because it includes "::" twice. However, this function call returns Ok()

Activity

  1. shepmaster commented on Mar 5, 2015

    @shepmaster
    Member

    It's also invalid because the last group has 5 digits: 34300

  2. added a commit that references this issue on Mar 6, 2015
    65b4eda
  3. added 2 commits that reference this issue on Mar 6, 2015
    60564ce
  4. added a commit that references this issue on Mar 6, 2015
    3c2c516
  5. manuels commented on Mar 7, 2015

    @manuels
    Author

    Great, thanks guys!

  6. added 2 commits that reference this issue on Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions