Skip to content

Conversation

@michaelcortese
Copy link

remove redundant code in fill_slice
add bounds check for offset + data.len() against memory size and perform the memory copy in a single unsafe block using copy_from_slice

Add bounds check for offset + data.len() against memory size and perform
the memory copy in a single unsafe block using copy_from_slice
@tylerharter tylerharter requested a review from kaimast November 5, 2025 21:10
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