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
fix: address G115 integer overflow linter warnings for Go 1.24.1
Added #nosec G115 annotations with explanatory comments for all integer
type conversions flagged by the gosec linter. These annotations explain
why each conversion is safe within its context.
Common patterns:
- Network statistics expected to be within int64 range
- Port numbers within uint16 range (0-65535)
- String lengths expected to be within uint16 range
- DERP/STUN port numbers and region IDs within int32 range
- Slice lengths expected to be within int32 range
- Display order values expected to be within int32 range
- SSH exit status values expected to be within int32 range (0-255)
- Pagination parameters expected to be within int32 range
0 commit comments