Skip to content

Update deps, go and golangci-lint#6

Merged
lukasbindreiter merged 2 commits intomainfrom
stefan/tbx-2801-use-correct-bitsize-in-parseintparseuint-to-prevent-integer
Jan 2, 2026
Merged

Update deps, go and golangci-lint#6
lukasbindreiter merged 2 commits intomainfrom
stefan/tbx-2801-use-correct-bitsize-in-parseintparseuint-to-prevent-integer

Conversation

@snamber
Copy link
Contributor

@snamber snamber commented Dec 29, 2025

Use the appropriate bitSize parameter (8, 16, 32, or strconv.IntSize)
when
parsing integers to ensure overflow is caught at parse time rather than
silently truncating during type conversion.

https://github.com/tilebox/structconf/security/code-scanning

…rflow

Use the appropriate bitSize parameter (8, 16, 32, or strconv.IntSize)
when
parsing integers to ensure overflow is caught at parse time rather than
silently truncating during type conversion.

Fixes 8 CodeQL 'Incorrect conversion between integer types' alerts.
@snamber snamber changed the title Fix: use correct bitSize in ParseInt/ParseUint to prevent integer overflow Fix: use correct bitSize in integer parsing to prevent integer overflow Dec 29, 2025
@lukasbindreiter lukasbindreiter changed the title Fix: use correct bitSize in integer parsing to prevent integer overflow Update deps, go and golangci-lint Jan 2, 2026
@lukasbindreiter lukasbindreiter merged commit ac631a3 into main Jan 2, 2026
4 checks passed
@lukasbindreiter lukasbindreiter deleted the stefan/tbx-2801-use-correct-bitsize-in-parseintparseuint-to-prevent-integer branch January 2, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants