]> Cypherpunks repositories - gostls13.git/commit
os/exec: avoid writing to Cmd.Path in Cmd.Start on Windows
authorBryan C. Mills <bcmills@google.com>
Wed, 13 Sep 2023 13:58:17 +0000 (09:58 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 13 Sep 2023 19:25:41 +0000 (19:25 +0000)
commit36facaa1f9a24175f0fbe4fe5f479bbfb67d05e9
tree843219dc04d53fd0dd9898f5d7c18801c48f8ce6
parent6ecd5f750454665f789e3d557548bb5a65ad5c3a
os/exec: avoid writing to Cmd.Path in Cmd.Start on Windows

Fixes #62596.

Change-Id: I9003318ac1c4e3036f32383e62e9ba08c383d5c2
Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-race,gotip-windows-amd64-race,gotip-windows-amd64-longtest
Reviewed-on: https://go-review.googlesource.com/c/go/+/527820
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/os/exec/exec.go
src/os/exec/exec_test.go
src/os/exec/lp_windows_test.go