You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[lint-monster] Guard direct slice and string indexing #69595
331 other affected paths are represented in this run.
Representative diagnostics:
pkg/parser/schedule_parser.go:90:5: direct slice indexing; confirm index 0 is within len(p.tokens).
pkg/stringutil/ansi.go:30:6: direct string indexing; confirm index i is within len(s).
Remediation checklist
Address only direct slice and string indexing findings in this category; keep edits minimal and preserve existing behavior.
Check index and length invariants at each use. Add a clear bounds check or restructure access when input can be shorter than expected; avoid unrelated changes.
Run make fmt after Go edits and make golint-custom; confirm this category has no remaining findings in the new output.
Activity