Skip to content

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

@manuels

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions