diff options
| author | Mikio Hara <mikioh.mikioh@gmail.com> | 2015-05-20 23:20:43 +0900 |
|---|---|---|
| committer | Mikio Hara <mikioh.mikioh@gmail.com> | 2015-06-02 11:47:06 +0000 |
| commit | 9378493d1641fd56d5935cb2f6d4f4b2a864894c (patch) | |
| tree | 12f642aab3d04acff18c9baa0516fb2f25bd9c7b /src/runtime/stack_test.go | |
| parent | 1fa0a8cec5f46bee1d652202934665a2ecdfc8d6 (diff) | |
| download | go-9378493d1641fd56d5935cb2f6d4f4b2a864894c.tar.xz | |
net: fix parsing literal IP addresses in local database
This change fixes incorrect parsing of literal IP addresses in local
database when the addresses contain IPv6 zone identifiers, are in
dotted-decimal notation or in colon-hexadecimal notation with leading
zeros.
https://golang.org/cl/5851 already fixed the code path using getaddrinfo
via cgo. This change fixes the remaining non-cgo code path.
Fixes #8243.
Fixes #8996.
Change-Id: I48443611cbabed0d69667cc73911ba3de396fd44
Reviewed-on: https://go-review.googlesource.com/10306
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/stack_test.go')
0 files changed, 0 insertions, 0 deletions
