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 use of incorrect index variable in lgmpHostGetClientIDs #7

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

callummance
Copy link

Looks like there's a bug in lgmpHostGetClientIds where it attempts to access the timeout array using the bitmask as an index, which could cause out-of-bounds memory accesses for higher client ID values.

@gnif
Copy link
Owner

gnif commented Oct 9, 2023

Nice catch! Thanks

@gnif gnif added good first issue Good for newcomers bug Something isn't working labels Oct 9, 2023
@gnif gnif merged commit 78484d1 into gnif:master Oct 9, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants