]> Cypherpunks repositories - gostls13.git/commit
net: ensure lookupStatic* returns copy of slice to disallow cache corruption.
authorSuharsh Sivakumar <suharshs@google.com>
Wed, 3 Feb 2016 21:22:40 +0000 (13:22 -0800)
committerMikio Hara <mikioh.mikioh@gmail.com>
Sun, 21 Feb 2016 16:36:56 +0000 (16:36 +0000)
commit9ad41f6243e7947ce1569140382f8847cc2a80dd
treea9f5afc6c3131ce79b61ab1b4947f2ed49dfba1b
parente43c74a0d8848d58814e1a8302d8f115d7f0b874
net: ensure lookupStatic* returns copy of slice to disallow cache corruption.

Fixes #14212

Change-Id: I74325dfaa1fb48f4b281c2d42157b563f1e42a94
Reviewed-on: https://go-review.googlesource.com/19201
Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
src/net/hosts.go
src/net/hosts_test.go