We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@dmitshur requested issue #68314 to be considered for backport to the next 1.22 minor release.
@gopherbot Please backport to Go 1.22. Only Go 1.22 needs the fix, as this isn't an issue in Go 1.21. This is a regression that can cause wrong binaries to be executed on Windows, with no workaround other than changing user code.
@gopherbot Please backport to Go 1.22. Only Go 1.22 needs the fix, as this isn't an issue in Go 1.21.
This is a regression that can cause wrong binaries to be executed on Windows, with no workaround other than changing user code.
The text was updated successfully, but these errors were encountered:
Change https://go.dev/cl/596976 mentions this issue: [release-branch.go1.22] os/exec: only use cachedLookExtensions if Cmd.Path is unmodified
[release-branch.go1.22] os/exec: only use cachedLookExtensions if Cmd.Path is unmodified
Sorry, something went wrong.
Approved. This is a regression that can cause wrong binaries to be executed on Windows, with no workaround other than changing user code.
[release-branch.go1.22] os/exec: only use cachedLookExtensions if Cmd…
ea96074
….Path is unmodified Caching the invocation of lookExtensions on an absolute path in Command and reusing the cached result in Start is only viable if Cmd.Path isn't set to a different value after Command returns. For #66586. For #68314. Fixes #68331. Change-Id: I57007850aca2011b11344180c00faded737617b5 Reviewed-on: https://go-review.googlesource.com/c/go/+/596875 Reviewed-by: qiu laidongfeng2 <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> (cherry picked from commit d0146bd) Reviewed-on: https://go-review.googlesource.com/c/go/+/596976
Closed by merging ea96074 to release-branch.go1.22.
No branches or pull requests
@dmitshur requested issue #68314 to be considered for backport to the next 1.22 minor release.
The text was updated successfully, but these errors were encountered: