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

internal/object: Fix gosec G115 #293

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

oxzi
Copy link
Member

@oxzi oxzi commented Mar 12, 2025

The conversion of an int64 to an uint64 was marked as a potential overflow, since it might lose precision. However, in this case this should be of no issue since only the binary representation matters, not the actual numeric value.

So a "nolint" tag was added next to an explanatory comment.

Fixes #289.

The conversion of an int64 to an uint64 was marked as a potential
overflow, since it might lose precision. However, in this case this
should be of no issue since only the binary representation matters, not
the actual numeric value.

So a "nolint" tag was added next to an explanatory comment.

Fixes #289.
@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla/signed CLA is signed by all contributors of a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitHub Actions are broken
1 participant