Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address CodeQL warning about converting strconv.Atoi() to int32 #2744

Closed
wants to merge 1 commit into from

Conversation

jandubois
Copy link
Member

By using strconv.ParseInt(…, 32) the analyzer will know that the value will fit into 32 bits (the warning is in guestagent_linux.go).

By using strconv.ParseInt(…, 32) the analyzer will know that the
value will fit into 32 bits (the warning is in guestagent_linux.go).

Signed-off-by: Jan Dubois <[email protected]>
@AkihiroSuda
Copy link
Member

@AkihiroSuda AkihiroSuda added the duplicate This issue or pull request already exists label Oct 16, 2024
@jandubois jandubois closed this Oct 16, 2024
@jandubois jandubois deleted the fix-codeql-warning branch October 16, 2024 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants