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

winpthreads: fix off by one bug in pthread_setspecific which impedes setting values #408

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

pwhelan
Copy link
Contributor

@pwhelan pwhelan commented Sep 8, 2023

Summary

Without this patch values with a key equal to the maximum will not be set and will return NULL when calling pthread_getspecific.

@edsiper edsiper merged commit 59270d8 into monkey:master Sep 13, 2023
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.

3 participants