aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/binary/binary_test.go
diff options
context:
space:
mode:
authorDavid Symonds <dsymonds@golang.org>2016-03-18 09:55:18 +1100
committerDavid Symonds <dsymonds@golang.org>2016-03-18 03:56:28 +0000
commit248c3a3c7b376e128c14fcb13eebf28733553d03 (patch)
tree48def8de30abaad13ac606db6707ffe32f082cee /src/encoding/binary/binary_test.go
parent815c9a7f289d172c979261230260c0c5f0d1106e (diff)
downloadgo-248c3a3c7b376e128c14fcb13eebf28733553d03.tar.xz
regexp: avoid copying mutex in (*Regexp).Copy.
There's nothing guaranteeing that the *Regexp isn't in active use, and so copying the sync.Mutex value is invalid. Updates #14839. Change-Id: Iddf52bf69df1b563377922399f64a571f76b95dd Reviewed-on: https://go-review.googlesource.com/20841 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src/encoding/binary/binary_test.go')
0 files changed, 0 insertions, 0 deletions