]> Cypherpunks repositories - gostls13.git/commit
net: Don't read beyond end of slice when parsing resolv.conf options.
authorJakob Borg <jakob@nym.se>
Tue, 15 Jul 2014 04:49:26 +0000 (14:49 +1000)
committerAndrew Gerrand <adg@golang.org>
Tue, 15 Jul 2014 04:49:26 +0000 (14:49 +1000)
commit0a5cb7dc49263ff63e09dfca27df5888e55aeeba
tree0f1a70bb4c618dd81795f45432172db46fbfdda4
parentc213b8864fa8b48225bac97245031613db89572a
net: Don't read beyond end of slice when parsing resolv.conf options.

Fixes #8252.

LGTM=adg
R=ruiu, josharian, adg
CC=golang-codereviews
https://golang.org/cl/102470046
src/pkg/net/dnsconfig_unix.go
src/pkg/net/testdata/resolv.conf