Skip to content

Fix: format-security#96

Merged
hyv1001 merged 1 commit intoBoomingTech:mainfrom
ambiguouStr:format-security
Apr 10, 2022
Merged

Fix: format-security#96
hyv1001 merged 1 commit intoBoomingTech:mainfrom
ambiguouStr:format-security

Conversation

@ambiguouStr
Copy link
Copy Markdown
Contributor

@ambiguouStr ambiguouStr commented Apr 10, 2022

Available fix suggestion from clangd: format string is not a string literal (potentially insecure) (fix available) [-Wformat-security].
Also in conformity with other ImGui::Text() calls in this file.

Change list:

  • line 1218 & 1274: ImGui::Text(label.c_str()); to ImGui::Text("%s", label.c_str());

@hyv1001 hyv1001 merged commit 5de12a3 into BoomingTech:main Apr 10, 2022
@ambiguouStr ambiguouStr deleted the format-security branch April 10, 2022 07:30
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

Successfully merging this pull request may close these issues.

2 participants