Skip to content

Improvement the int conversion overflow logic to handle bound checks #1354

Improvement the int conversion overflow logic to handle bound checks

Improvement the int conversion overflow logic to handle bound checks #1354

Triggered via pull request September 2, 2024 08:39
Status Failure
Total duration 1m 12s
Artifacts

ci.yml

on: pull_request
Matrix: test
coverage
0s
coverage
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 2 warnings
test (1.22.6, latest): report/csv/writer.go#L11
undefined: gosec (typecheck)
test (1.22.6, latest): report/golint/writer.go#L12
undefined: gosec (typecheck)
test (1.22.6, latest): report/html/writer.go#L15
undefined: gosec (typecheck)
test (1.22.6, latest): analyzers/conversion_overflow.go#L486
invalid operation: a < *b (type parameter T is not comparable with <) (typecheck)
test (1.22.6, latest): analyzers/conversion_overflow.go#L496
invalid operation: a > *b (type parameter T is not comparable with >) (typecheck)
test (1.22.6, latest): rules/readfile.go#L98
r.ContainsPkgCallExpr undefined (type *readfile has no field or method ContainsPkgCallExpr) (typecheck)
test (1.22.6, latest): rules/readfile.go#L147
rule.Add undefined (type *readfile has no field or method Add) (typecheck)
test (1.22.6, latest): rules/readfile.go#L148
rule.Add undefined (type *readfile has no field or method Add) (typecheck)
test (1.22.6, latest): rules/readfile.go#L149
rule.Add undefined (type *readfile has no field or method Add) (typecheck)
test (1.22.6, latest): rules/sql.go#L199
s.ContainsCallExpr undefined (type *sqlStrConcat has no field or method ContainsCallExpr) (typecheck)
test (1.23.0, latest)
The job was canceled because "_1_22_6_latest" failed.
test (1.23.0, latest)
The operation was canceled.
test (1.22.6, latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gosec/gosec. Supported file pattern: go.sum
test (1.23.0, latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gosec/gosec. Supported file pattern: go.sum