Skip to content

Conversation

@klauspost
Copy link
Owner

No description provided.

if sz <= 0 {
exitErr(errors.New("invalid block size"))
}
dataSz := int(sz)

Check failure

Code scanning / CodeQL

Incorrect conversion between integer types

Incorrect conversion of a 64-bit integer from [strconv.ParseUint](1) to a lower bit size type int without an upper bound check.
@klauspost klauspost merged commit 5231646 into master Jun 26, 2023
@klauspost klauspost deleted the add-benchmark-application branch June 26, 2023 09:47
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