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

Address server CodeQL gripes #385

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Address server CodeQL gripes #385

merged 1 commit into from
Nov 28, 2023

Conversation

SpamapS
Copy link
Member

@SpamapS SpamapS commented Nov 24, 2023

These are mostly just a lack of explicit cast.

The issue with strtoll error handling is not serious, but it was potentially confusing with the wrong function mentioned in comments and the log being very vague.

There were also a few places where we call strlen to get the length which isn't what %.*s is for.

This should address all outstanding CodeQL alerts.

These are mostly just a lack of explicit cast.

The issue with strtoll error handling is not serious, but it was
potentially confusing with the wrong function mentioned in comments and
the log being very vague.

This should address all outstanding CodeQL alerts.
@SpamapS SpamapS merged commit 611517e into master Nov 28, 2023
12 checks passed
@esabol esabol deleted the codeql-gripes branch November 28, 2023 04:46
@esabol esabol added the codeql label Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants