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: IPv6 parser should fail with 8 groups plus one blank #6628
Labels
Milestone
Comments
sorry, i don't understand this issue. this is the example that is referenced in the golang-nuts post: http://play.golang.org/p/bC1nblkq_u could you elaborate what should be expected output? if that program is not related, could you please give an example and its expected output? Status changed to WaitingForReply. |
Comment 2 by raul.san@sent.com: The ouput at parsing a address like "a1:a2:a3:a4::b1:b2:b3:b4" should be nil because no more than 6 groups in addition to the "::" may be present. See definiition of IPv6v4-comp in http://tools.ietf.org/html/rfc5321#section-4.1.3 |
Comment 3 by raul.san@sent.com: I mean the definition of IPv6-comp |
Comment 5 by raul.san@sent.com: The title should be "net:IPv6 parser should fail with 7 groups plus one blank" |
Comment 6 by raul.san@sent.com: Note, that is also should be nil with 7 groups plus one blank: http://play.golang.org/p/nuieTkQCdN |
according to http://tools.ietf.org/html/rfc4291#section-2.2, "The use of "::" indicates one or more groups of 16 bits of zeros." so 7 groups plus one :: is in fact acceptable. |
Comment 8 by alex@lx.lc: Submitted https://golang.org/cl/15990043 which I believe will fix this. |
https://golang.org/cl/15990043/ Status changed to Started. |
This issue was closed by revision 487dff1. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by raul.san@sent.com:
The text was updated successfully, but these errors were encountered: