net: don't crash on Windows when Lookup name has null byte in string
Fixes #31597 Change-Id: I0db1f6f457632c49f9ecfa9d85b99b4cf7d91325 Reviewed-on: https://go-review.googlesource.com/c/go/+/173362 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Showing
Please register or sign in to comment