| commit | ec11eccf5a0f725281df0cdf40bb7ebef51d57ea | [log] [tgz] |
|---|---|---|
| author | Marcus Efraimsson <marcus.efraimsson@gmail.com> | Sat Nov 22 00:01:52 2025 +0100 |
| committer | Gopher Robot <gobot@golang.org> | Mon Nov 24 17:04:07 2025 -0800 |
| tree | 606806130d9e0305849c0eacfcdd4ea72448bd74 | |
| parent | bff14c52567061031b9761881907c39e24792736 [diff] |
trace: fix data race in RenderEvents This commit updates the RenderEvents function by moving the read lock for event families so that it happens before checking the length of event families and by that fixing a data race problem. Fixes golang/go#76402 Change-Id: Id02ebaa25cec8ef631aaf928ba084b0692e84583 Reviewed-on: https://go-review.googlesource.com/c/net/+/723160 Auto-Submit: Sean Liao <sean@liao.dev> Reviewed-by: Sean Liao <sean@liao.dev> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Damien Neil <dneil@google.com> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Nicholas Husin <nsh@golang.org> Reviewed-by: Nicholas Husin <husin@google.com>
This repository holds supplementary Go networking packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/net.
The main issue tracker for the net repository is located at https://go.dev/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.