Skip to content

Fix a couple bugs#323

Merged
fitzgen merged 2 commits into
mainfrom
couple-bugs
May 22, 2026
Merged

Fix a couple bugs#323
fitzgen merged 2 commits into
mainfrom
couple-bugs

Conversation

@fitzgen
Copy link
Copy Markdown
Owner

@fitzgen fitzgen commented May 22, 2026

No description provided.

fitzgen added 2 commits May 22, 2026 06:07
When growing form a zero-sized allocation, we would incorrectly use the old
layout instead of the new layout for the grown allocation. This bug was
unreachable because the public `grow` method handles this case correctly and
because `realloc` is not otherwise reachable from the public API (e.g. via
`collections::Vec`).
@fitzgen fitzgen merged commit 5325624 into main May 22, 2026
9 checks passed
@fitzgen fitzgen deleted the couple-bugs branch May 22, 2026 13:54
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