]> Cypherpunks repositories - gostls13.git/commit
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)
committerDamien Neil <dneil@google.com>
Wed, 2 Jun 2021 21:39:28 +0000 (21:39 +0000)
commitdd7ba3ba2c860c40be6d70b63d4a678449cae80f
treed13f84a6b292902cdacfb4055c35b85a4ff47f0b
parent4f572d707661e3e84ff262d6c605eb6fa1f77abd
net: don't rely on system hosts in TestCVE202133195

Also don't unnecessarily deref the error return.

Fixes #46504

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>
src/net/dnsclient_unix_test.go