Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: add detailed gosec G115 annotations#17085

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
sreya wants to merge1 commit intomainfromsreya/lint-fixes-new

Conversation

sreya
Copy link
Collaborator

This PR adds more detailed #nosec G115 annotations to fix gosec linting issues in various files. These annotations explain why each integer conversion is safe and how potential overflow is handled.

The changes include:

  • Added explanatory comments for each integer conversion in several files
  • Documented specific cases where overflow is acceptable
  • Added bounds checking context where needed

These changes should resolve the remaining lint issues in#17035.

Added more detailed #nosec G115 annotations to fix gosec warningsSigned-off-by: sreya <sreya@coder.com>
@github-actionsGitHub Actions
Copy link


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign ourContributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


Claude seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, pleaseadd the email address used for this commit to your account.
You can retrigger this bot by commentingrecheck in this Pull Request.Posted by theCLA Assistant Lite bot.

@sreyasreya closed thisMar 25, 2025
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMar 25, 2025
@sreyasreya deleted the sreya/lint-fixes-new branchMarch 25, 2025 07:22
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees

@sreyasreya

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@sreya

[8]ページ先頭

©2009-2025 Movatter.jp