diff options
| author | Bryan C. Mills <bcmills@google.com> | 2022-11-10 17:00:18 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-11-11 16:04:21 +0000 |
| commit | fcd14bdcbdfbb5b0c79cfecff95291837836a76d (patch) | |
| tree | c7646aac619f3e9941f04404fe77c34927b0abbb /src/runtime | |
| parent | fffda6b3adfb4d05290c58939a78a99643398ff1 (diff) | |
| download | go-fcd14bdcbdfbb5b0c79cfecff95291837836a76d.tar.xz | |
cmd/go/internal/vcweb: fix a data race in the overview handler
I forgot to lock the scriptResult in the overview handler, and
apparently a cmd/go test is incidentally fetching the overview page at
some point during test execution, triggering the race.
This race was caught almost immediately by the new
linux-amd64-longtest-race builder (see
https://build.golang.org/log/85ab78169a6382a73b1a26c89e64138b387da217).
Updates #27494.
Change-Id: I06ee8d54dba400800284401428ba4a59809983b2
Reviewed-on: https://go-review.googlesource.com/c/go/+/449517
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
