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

bug: resolve type conversion alerts #20553

Merged
merged 7 commits into from
May 15, 2024
Merged

bug: resolve type conversion alerts #20553

merged 7 commits into from
May 15, 2024

Conversation

dduzgun-security
Copy link
Collaborator

Resolves Incorrect conversion between integer types alerts to catch potential overflows.

Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @dduzgun-security! Looks good except for the note I've left about the error message output.

command/agent/http.go Show resolved Hide resolved
tgross
tgross previously approved these changes May 10, 2024
Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Once CI is green we can get this merged and backported.

@tgross tgross added backport/1.6.x backport to 1.6.x release line backport/1.7.x backport to 1.7.x release line labels May 10, 2024
@tgross tgross added this to the 1.8.0 milestone May 10, 2024
@tgross tgross self-requested a review May 13, 2024 20:25
@tgross tgross dismissed their stale review May 13, 2024 20:26

Tests not passing

api/api.go Outdated Show resolved Hide resolved
Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tgross tgross merged commit 1cc99cc into main May 15, 2024
19 checks passed
@tgross tgross deleted the sec/code-scanning-alerts branch May 15, 2024 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.6.x backport to 1.6.x release line backport/1.7.x backport to 1.7.x release line theme/security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants