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

Patched snprintf() calls to provide required format specifiers #185

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dje4321
Copy link

@dje4321 dje4321 commented May 18, 2024

Unable to compile on linux due to missing format specifiers per the CPP reference.
https://cplusplus.com/reference/cstdio/snprintf

PR patches snprintf() calls to provide the required format specifiers.

@dje4321
Copy link
Author

dje4321 commented May 18, 2024

Important thing to note. Not all snprintf() calls were checked. Only patched those that were preventing compilation.

There are some potential security implications by not passing in the required format specifier, however since this is a premade application with no real user inputs, none of those implications are particularly relevant.

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

1 participant