Skip to content

Fix TLSF state corruption #1060

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

Merged
merged 1 commit into from
Jan 19, 2020
Merged

Fix TLSF state corruption #1060

merged 1 commit into from
Jan 19, 2020

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Jan 18, 2020

This should fix the issue reported in #1042. Turned out that we were caching blockInfo = block.mmInfo within reallocateBlock, but when the block must be moved the cached value can become invalidated if the new and the old block are adjacent, leading to invalid flags caught by an assertion.

@dcodeIO dcodeIO merged commit cd22a47 into master Jan 19, 2020
@dcodeIO dcodeIO deleted the fix-tlsf branch March 15, 2020 13:35
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.

1 participant