Skip to content

Commit 3514564

Browse files
ChrisJBurnsclaude
andauthored
Update Go version from 1.25.0 to 1.26.0 (#85)
* Update Go version from 1.25.0 to 1.26.0 * fix: sanitize tainted input in log to resolve gosec G706 Use strconv.Quote to sanitize the user-supplied action string before logging, preventing potential log injection. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fd72429 commit 3514564

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/yardstick-client/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,6 @@ func main() {
285285
}
286286

287287
default:
288-
log.Fatalf("Unknown action: %s", action)
288+
log.Fatalf("Unknown action: %s", strconv.Quote(action))
289289
}
290290
}

go.mod

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

3-
go 1.25.0
3+
go 1.26.0
44

55
require (
66
github.com/google/jsonschema-go v0.4.2

0 commit comments

Comments
 (0)