Description

Currently FInternetAddrBSDIPv6::SetIp(const CHAR* InAddr, bool& bIsValid) does not handle all valid formats of IPv6 addresses.

Need to rework the function to be more robust, and properly handle all (or at least more) IPv6 and IPv4 cases.

Steps to Reproduce

General test instructions:

Test IPv6 addresses one to verify all valid formats work:

Standard format.
[AAAA:BBBB:CCCC:DDDD:EEEE:FFFF:0000:1111] // With and without port :0123

Standard format with collapsed 0 sections.
[AAAA:BBBB::FFFF:0000:1111] // With and without port, and moving the double colon / including more or less sections.

Standard format IPv4 pass through.
[::FFFF:127.0.0.1] // With and without port.

IPv4 format
127.0.0.1 // With and without port.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-36607 in the post.

0
Login to Vote

Fixed
ComponentUE - Networking
Affects Versions4.14
Target Fix4.15
Fix Commit3189188
Main Commit3198987
Release Commit3240724
CreatedSep 29, 2016
ResolvedNov 8, 2016
UpdatedApr 27, 2018
View Jira Issue