We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
warning: format string is not a string literal (potentially insecure) [-Wformat-security]
From the c0.3.0 build workflow where the musl builds fail with:
#9 31.84 112 | fprintf(stdout, usage); #9 31.84 | ^~~~~ #9 31.84 /sshnpd/sshnpd/build/_deps/atsdk-src/packages/atauth/src/atactivate_arg_parser.c:112:23: note: treat the string as an argument to avoid this #9 31.84 112 | fprintf(stdout, usage); #9 31.84 | ^ #9 31.84 | "%s", #9 31.84 /sshnpd/sshnpd/build/_deps/atsdk-src/packages/atauth/src/atactivate_arg_parser.c:116:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] #9 31.84 116 | fprintf(stderr, usage); #9 31.84 | ^~~~~ #9 31.84 /sshnpd/sshnpd/build/_deps/atsdk-src/packages/atauth/src/atactivate_arg_parser.c:116:23: note: treat the string as an argument to avoid this #9 31.84 116 | fprintf(stderr, usage); #9 31.84 | ^ #9 31.84 | "%s", #9 31.84 /sshnpd/sshnpd/build/_deps/atsdk-src/packages/atauth/src/atactivate_arg_parser.c:130:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] #9 31.84 130 | fprintf(stderr, usage); #9 31.84 | ^~~~~ #9 31.84 /sshnpd/sshnpd/build/_deps/atsdk-src/packages/atauth/src/atactivate_arg_parser.c:130:21: note: treat the string as an argument to avoid this #9 31.84 130 | fprintf(stderr, usage); #9 31.84 | ^ #9 31.84 | "%s", #9 31.84 /sshnpd/sshnpd/build/_deps/atsdk-src/packages/atauth/src/atactivate_arg_parser.c:136:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] #9 31.84 136 | fprintf(stderr, usage); #9 31.84 | ^~~~~ #9 31.84 /sshnpd/sshnpd/build/_deps/atsdk-src/packages/atauth/src/atactivate_arg_parser.c:136:21: note: treat the string as an argument to avoid this #9 31.84 136 | fprintf(stderr, usage); #9 31.84 | ^ #9 31.84 | "%s",
Builds with no warnings
The text was updated successfully, but these errors were encountered:
fprintf warnings fixed in atsign-foundation/at_c#496 PR fixing another compile warning: atsign-foundation/at_c#506
PR in NoPorts pinned to at_c#506 #1649
Sorry, something went wrong.
Fixed by #1649
XavierChanth
No branches or pull requests
Describe the bug
warning: format string is not a string literal (potentially insecure) [-Wformat-security]
From the c0.3.0 build workflow where the musl builds fail with:
Steps to reproduce
Expected behavior
Builds with no warnings
The text was updated successfully, but these errors were encountered: