]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.15] net: don't rely on system hosts in TestCVE202133195
authorRoland Shoemaker <roland@golang.org>
Wed, 2 Jun 2021 16:20:22 +0000 (09:20 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 2 Jun 2021 23:08:29 +0000 (23:08 +0000)
commit6b411e90d4d017f28c1cc7d442b5ec8c1f9de549
tree910a48739513e770bb6a45715f8d11c71e6b118a
parentfbf844b46d147c442a6016aa9c6bef51c309257b
[release-branch.go1.15] net: don't rely on system hosts in TestCVE202133195

Also don't unnecessarily deref the error return.

Updates #46504
Fixes #46531

Change-Id: I22d14ac76776f8988fa0774bdcb5fcd801ce0185
Reviewed-on: https://go-review.googlesource.com/c/go/+/324190
Trust: David Chase <drchase@google.com>
Trust: Damien Neil <dneil@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
(cherry picked from commit dd7ba3ba2c860c40be6d70b63d4a678449cae80f)
Reviewed-on: https://go-review.googlesource.com/c/go/+/324333
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/dnsclient_unix_test.go