Skip to content

Conversation

@glebm
Copy link
Contributor

@glebm glebm commented Jun 9, 2025

from_raw_parts requires the first length values to be initialized but here we're not initializing any (likely doesn't matter for u8).

I'm guessing the whole file can be rewritten in a much nicer way with modern Rust (probably vectors are not needed to allocate a fixed chunk of memory?)

`from_raw_parts` requires the first `length` values to be initialized but here we're not initializing any (likely doesn't matter for u8)
@shepmaster shepmaster merged commit fa66d4f into shepmaster:master Jun 11, 2025
5 checks passed
@shepmaster
Copy link
Owner

Thanks!

@glebm glebm deleted the patch-1 branch June 11, 2025 17:49
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.

2 participants