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

icmd: replace all usages of os/exec with golang.org/x/sys/execabs #218

Merged
merged 2 commits into from
May 15, 2021

Commits on Mar 14, 2021

  1. go.mod: golang.org/x/tools v0.1.0

    Project now started to do releases; this one was related to a
    security issue on Windows, replacing all usages of os/exec with
    golang.org/x/sys/execabs.
    
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Mar 14, 2021
    Configuration menu
    Copy the full SHA
    cda9c22 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2021

  1. icmd: replace all usages of os/exec with golang.org/x/sys/execabs

    Following the changes in Go, and golang.org/x/tools themselves, this change
    ensures that packages using exec.LookPath or exec.Command to find or run
    binaries do not accidentally run programs from the current directory when
    they mean to run programs from the system PATH instead.
    
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    66ae1b5 View commit details
    Browse the repository at this point in the history