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

Fix strings incorrectly being passed as format strings #1091

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

furrykef
Copy link
Contributor

I couldn't install the game from Arch Linux's AUR because, by default, it builds packages with -Werror=format-security. This has been a problem before, but this should fix the root cause for good.

In case it's not clear what the issue is, consider what happens if for some reason m_tooltip or m_fpsCounter has something like "%d" inside.

Fixes build failing with -Werror=format-security
(which is on by default when building a package in Arch Linux)
Copy link

sonarcloud bot commented Mar 14, 2024

@AnotherFoxGuy AnotherFoxGuy merged commit 81d407f into CytopiaTeam:master Mar 14, 2024
6 checks passed
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.

None yet

2 participants