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

warning: '__builtin_strncpy' #292

Closed
Kampi opened this issue Jun 4, 2024 · 0 comments
Closed

warning: '__builtin_strncpy' #292

Kampi opened this issue Jun 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Kampi
Copy link
Collaborator

Kampi commented Jun 4, 2024

../src/applications/trivia/trivia_app.c: In function 'http_rsp_cb':
../src/applications/trivia/trivia_app.c:84:9: warning: '__builtin_strncpy' specified bound 513 equals destination size [-Wstringop-truncation]
   84 |         strncpy(trivia_app_question.question, question->valuestring, sizeof(trivia_app_question.question));
@Kampi Kampi added the bug Something isn't working label Jun 4, 2024
@jakkra jakkra mentioned this issue Jun 7, 2024
4 tasks
@jakkra jakkra closed this as completed Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants