]> Cypherpunks repositories - gostls13.git/commit
encoding/gob: avoid race on idToType
authorIan Lance Taylor <iant@golang.org>
Thu, 4 Jan 2018 01:50:47 +0000 (17:50 -0800)
committerIan Lance Taylor <iant@golang.org>
Thu, 4 Jan 2018 02:17:33 +0000 (02:17 +0000)
commit1a9f27d5034056c1adf53a39939973c4495370f4
tree2501c1f7ef23969fa620b5452bb4d07bc45c26db
parent43bf63fce1abad1d5fe673e2c869e4d32f62885e
encoding/gob: avoid race on idToType

Fixes #23328

Change-Id: Ie4864d7f388d363860318fe41431d8a9719e9a75
Reviewed-on: https://go-review.googlesource.com/86075
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/dist/test.go
src/encoding/gob/decode.go
src/encoding/gob/type_test.go