]> Cypherpunks repositories - gostls13.git/commit
net: bring domain name length checks into RFC compliance
authorRichard Gibson <richard.gibson@gmail.com>
Sat, 22 Oct 2016 04:21:18 +0000 (00:21 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 11 Nov 2016 14:56:10 +0000 (14:56 +0000)
commit9a5bddd7ed57596a259f3896dd31ea30e331027d
treea4e0ab8a0e4452ca678dc0f88f9e5bfc227ac5fc
parentadd721ef91ed533cf578ff7a604124e377329ae4
net: bring domain name length checks into RFC compliance

The 255-octet limit applies to wire format, not presentation format.

Fixes #17549

Change-Id: I2b5181c53fba32fea60178e0d8df9114aa992b55
Reviewed-on: https://go-review.googlesource.com/31722
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/net/dnsclient.go
src/net/dnsclient_unix.go
src/net/dnsconfig_unix_test.go
src/net/dnsname_test.go