Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(19090)

Issue 15990043: code review 15990043: net: ParseIP should return nil if :: doesn't expand in ...

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by axaxs
Modified:
10 years, 4 months ago
Reviewers:
mikio
CC:
golang-dev, rsc, minux1, mikio
Visibility:
Public.

Description

net: ParseIP should return nil if :: doesn't expand in an IPv6 address. Per RFC 4291, 'The use of "::" indicates one or more groups of 16 bits of zeros.' Fixes issue 6628

Patch Set 1 #

Patch Set 2 : diff -r 9169cb38c3e8 https://code.google.com/p/go #

Patch Set 3 : diff -r 9169cb38c3e8 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M src/pkg/net/ip.go View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/pkg/net/ip_test.go View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7
axaxs
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
10 years, 6 months ago (2013-10-23 03:23:12 UTC) #1
rsc
Thanks for the fix, but I'd like to leave this until after Go 1.2. It's ...
10 years, 6 months ago (2013-10-23 14:15:01 UTC) #2
axaxs
Sure, thank you. I wanted to go ahead and write the fix as it's something ...
10 years, 6 months ago (2013-10-23 14:42:36 UTC) #3
minux1
On Oct 23, 2013 10:42 AM, <alex@lx.lc> wrote: > Sure, thank you. I wanted to ...
10 years, 6 months ago (2013-10-23 17:13:07 UTC) #4
axaxs
Pinging this CL now that 1.2 is released. Thanks, Alex On Wed, Oct 23, 2013 ...
10 years, 4 months ago (2013-12-05 04:25:10 UTC) #5
mikio
lgtm
10 years, 4 months ago (2013-12-20 09:33:14 UTC) #6
mikio
10 years, 4 months ago (2013-12-20 12:29:40 UTC) #7
*** Submitted as https://code.google.com/p/go/source/detail?r=9b9971d5992a ***

net: ParseIP should return nil if :: doesn't expand in an IPv6 address.

Per RFC 4291, 'The use of "::" indicates one or more groups of 16 bits of
zeros.'
Fixes issue 6628

R=golang-dev, rsc, minux.ma, mikioh.mikioh
CC=golang-dev
https://codereview.appspot.com/15990043

Committer: Mikio Hara <mikioh.mikioh@gmail.com>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b