mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
build(deps): bump github.com/securego/gosec/v2 from 2.8.1 to 2.9.1 (#2299)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
parent
680f3e6c8e
commit
6edca924d3
6 changed files with 16 additions and 13 deletions
2
test/testdata/gosec.go
vendored
2
test/testdata/gosec.go
vendored
|
@ -34,5 +34,5 @@ func GosecG204SubprocWithFunc() {
|
|||
return "/tmp/dummy"
|
||||
}
|
||||
|
||||
exec.Command("ls", arg()).Run() // ERROR "G204: Subprocess launched with function call as argument or cmd arguments"
|
||||
exec.Command("ls", arg()).Run() // ERROR "G204: Subprocess launched with a potential tainted input or cmd arguments"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue