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

NOT BLAZING FAST AND MEMORY SAFE #41

Open
Sanceilaks opened this issue Jan 31, 2023 · 2 comments
Open

NOT BLAZING FAST AND MEMORY SAFE #41

Sanceilaks opened this issue Jan 31, 2023 · 2 comments

Comments

@Sanceilaks
Copy link

uwu/src/lib.rs

Line 33 in 5016701

unsafe { *bytes.get_unchecked_mut(i) = 0u8; }

WTF

@leo848
Copy link

leo848 commented Apr 23, 2023

yeah.. this function n-needs to b-be unsafe a-as one c-couwd just pass a m-mutable wefewence to an empty s-swice s-safewy mmm.. which is instant u-ub

@Sanceilaks
Copy link
Author

still not safe

@Sanceilaks Sanceilaks reopened this Feb 6, 2025
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

No branches or pull requests

2 participants