Skip to content

Miri fix#14

Merged
Alexhuszagh merged 1 commit into
masterfrom
miri-fix
Jul 1, 2026
Merged

Miri fix#14
Alexhuszagh merged 1 commit into
masterfrom
miri-fix

Conversation

@Alexhuszagh

@Alexhuszagh Alexhuszagh commented Jul 1, 2026

Copy link
Copy Markdown
Owner

This avoids the stack borrow violations and ensures that the array is correctly used and no mem::uninitialized is used. This causes API-breaking changes by changing to use an array of MaybeUninit values, rather than a MaybeUninit array, and ensure these are correctly initialized.

@Alexhuszagh Alexhuszagh added this to the 2.0.0 milestone Jul 1, 2026
@Alexhuszagh Alexhuszagh self-assigned this Jul 1, 2026
@Alexhuszagh Alexhuszagh added the A-security Security/unsoundness issues. label Jul 1, 2026
This avoids the stack borrow violations and ensures that the array is correctly used and no `mem::uninitialized` is used. This causes API-breaking changes by changing to use an array of `MaybeUninit` values, rather than a `MaybeUninit` array, and ensure these are correctly initialized.

- Closes [#5](#5)
- Addresses [rustsec/advisory-db#3005](rustsec/advisory-db#3005)
@Alexhuszagh Alexhuszagh merged commit 13d6517 into master Jul 1, 2026
@Alexhuszagh Alexhuszagh deleted the miri-fix branch July 1, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-security Security/unsoundness issues.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove use of mem::uninitialized

1 participant