Skip to content
New issue

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

feat: Replace os/exec with golang.org/x/sys/execabs #386

Merged
merged 1 commit into from Oct 12, 2021

Conversation

rhcarvalho
Copy link
Contributor

Package execabs is a drop-in replacement for os/exec that requires PATH lookups to find absolute paths.

This change guarantees that the SDK will never run a git binary from the current working directory.

See discussion in https://blog.golang.org/path-security.

Package execabs is a drop-in replacement for os/exec that requires PATH
lookups to find absolute paths. This change guarantees that the SDK will
never run a git binary from the current working directory.

See discussion in https://blog.golang.org/path-security.
@rhcarvalho rhcarvalho merged commit bd116d6 into master Oct 12, 2021
@rhcarvalho rhcarvalho deleted the rhcarvalho/execabs branch October 12, 2021 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants