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

Fix uninitialized context annex slot #1497

Merged
merged 2 commits into from
Jun 10, 2024
Merged

Conversation

littledivy
Copy link
Member

Attempts to clear_all_slots would crash when annex slot is not intialized but is also non-null garbage value. This patch makes sure we initialize a valid annex slot.

src/context.rs Show resolved Hide resolved
@littledivy littledivy merged commit ff92021 into main Jun 10, 2024
15 checks passed
@littledivy littledivy deleted the segfault_clear_all_slots branch June 10, 2024 15:25
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.

None yet

2 participants