Skip to content

Commit ecb87e5

Browse files
committed
fix: CVE-2025-61726 - upgrade go version to >1.25.5
Signed-off-by: Shubham Bhardwaj <shubbhar@redhat.com>
1 parent 36c43e2 commit ecb87e5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/openshift-pipelines/opc
22

3-
go 1.25.5
3+
go 1.25.6
44

55
require (
66
github.com/openshift-pipelines/manual-approval-gate v0.6.0

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func main() {
9494
}
9595

9696
// if we have found the plugin then sysexec it by replacing current process.
97-
if err := syscall.Exec(exCmd, append([]string{exCmd}, os.Args[2:]...), os.Environ()); err != nil {
97+
if err := syscall.Exec(exCmd, append([]string{exCmd}, os.Args[2:]...), os.Environ()); err != nil { //nolint:gosec
9898
fmt.Fprintf(os.Stderr, "Command finished with error: %v", err)
9999
os.Exit(127)
100100
}

0 commit comments

Comments
 (0)