net: TestCVE202133195 fails if /etc/resolv.conf specifies ndots larger than 3 #46955
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Reproducible with go1.16.5
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
In /etc/resolv.conf there is "options ndots:5", then ./make.bash failed with the following error.
--- FAIL: TestCVE202133195 (0.00s)
dnsclient_unix_test.go:1925: Resolver.LookupSRV returned unexpected error, got "lookup golang.org: SRV target is invalid", want "lookup golang.org: SRV header name is invalid"
dnsclient_unix_test.go:1929: LookupSRV returned unexpected error, got "lookup golang.org: SRV target is invalid", want "lookup golang.org: SRV header name is invalid"
FAIL
FAIL net 5.458s
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: