Commit Graph

3 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
b153a842a7 fix(style): resolve EditorConfig indentation issues
Fix indentation violations in test files to comply with EditorConfig rules:
- Remove unnecessary indentation in YAML list items in config/loader_test.go
- Add missing final newline in config/loader_test.go
- Restore original tab indentation in scripts/security-scan.sh

Co-authored-by: ivuorinen <11024+ivuorinen@users.noreply.github.com>
2025-10-04 23:30:46 +00:00
copilot-swe-agent[bot]
e9bd694685 fix(security): prevent integer overflow in uint64 to int64 conversions
Add overflow checks before converting uint64 memory values to int64
to prevent potential integer overflow issues identified by gosec (G115).

- Add math.MaxInt64 checks in fileproc/backpressure.go
- Add math.MaxInt64 checks in fileproc/resource_monitor_validation.go
- Add math.MaxInt64 checks in fileproc/resource_monitor_metrics.go
- Add math.MaxInt64 check in benchmark/benchmark.go with nosec annotation

Co-authored-by: ivuorinen <11024+ivuorinen@users.noreply.github.com>
2025-10-04 23:17:02 +00:00
b369d317b1 feat(security): improve security features, fixes 2025-07-29 13:55:25 +03:00