Skip to content

Fix bug in pool sort #765

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 10, 2025
Merged

Fix bug in pool sort #765

merged 1 commit into from
Apr 10, 2025

Conversation

mjp41
Copy link
Member

@mjp41 mjp41 commented Apr 10, 2025

The pool sort routine is used by Verona's systematic testing. There was a bug introduced in #612 that could corrupt the list when a sort occured.

This is not used by snmalloc and the test coverage was insufficient to expose the bug.

This PR fixes the bug, and improves test coverage.

The pool sort routine is used by Verona's systematic testing.  There was a bug introduced in microsoft#612 that could corrupt the list when a sort occured.

This is not used by snmalloc and the test coverage was insufficient to expose the bug.

This PR fixes the bug, and improves test coverage.
@mjp41 mjp41 merged commit b8e28be into microsoft:main Apr 10, 2025
83 checks passed
@mjp41 mjp41 deleted the pool_fix branch April 10, 2025 09:25
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant