Skip to content
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

Fix tlsf block adjustment #4820

Merged
merged 1 commit into from
Feb 10, 2025
Merged

Fix tlsf block adjustment #4820

merged 1 commit into from
Feb 10, 2025

Conversation

Lperlind
Copy link
Contributor

If you were to allocate small numbers the adjust could be smaller than an actual block size. This meant headers would overlap headers and cause corruption to the tlsf allocator.
Refer to: https://github.com/mattconte/tlsf/blob/deff9ab509341f264addbd3c8ada533678591905/tlsf.c#L502

@Kelimion Kelimion merged commit bc100c3 into odin-lang:master Feb 10, 2025
7 checks passed
# 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.

2 participants