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

Should make create Map to be unsafe? #15

Closed
quininer opened this issue Nov 11, 2020 · 1 comment
Closed

Should make create Map to be unsafe? #15

quininer opened this issue Nov 11, 2020 · 1 comment

Comments

@quininer
Copy link

The contents of mmap may be changed externally and violate Rust's mutability assumptions.

see danburkert/memmap-rs#25 and https://users.rust-lang.org/t/how-unsafe-is-mmap/19635

@Polish-Civil
Copy link

Well what if someone writes to process memory and changing one of your struct's data? I think it can only be mutated by other process which you manage? I don't think its that unsafe

@kalamay kalamay closed this as completed Mar 7, 2024
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

3 participants