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

cmd: do not use non-constant formatting strings in printf-like calls #69260

Closed
timothy-king opened this issue Sep 4, 2024 · 3 comments
Closed
Assignees
Milestone

Comments

@timothy-king
Copy link
Contributor

Do not use non-constant formatting strings in calls to printf-like functions in src/cmd. These fail the new printf vet check (#60529).

cc @adonovan

@timothy-king timothy-king added this to the Go1.24 milestone Sep 4, 2024
@timothy-king timothy-king self-assigned this Sep 4, 2024
@gabyhelp
Copy link

gabyhelp commented Sep 4, 2024

Related Issues and Documentation

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/610538 mentions this issue: cmd: fix formatting strings

@timothy-king
Copy link
Contributor Author

The required work is a subset of the work for #68796. Closing this as a duplicate.

@timothy-king timothy-king closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2024
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

No branches or pull requests

3 participants