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

Revise unsafe usage #13

Closed
diego-plan9 opened this issue Jul 28, 2021 · 0 comments · Fixed by #162
Closed

Revise unsafe usage #13

diego-plan9 opened this issue Jul 28, 2021 · 0 comments · Fixed by #162
Labels
crate: lib Related to the lib crate enhancement New feature or request

Comments

@diego-plan9
Copy link
Owner

diego-plan9 commented Jul 28, 2021

There is currently an unsafe usage at

fn close_restricted(&mut self, fd: RawFd) {
unsafe {
File::from_raw_fd(fd);
}
}
:

that ideally should be avoided.

@diego-plan9 diego-plan9 added the enhancement New feature or request label Jul 28, 2021
@diego-plan9 diego-plan9 added the crate: lib Related to the lib crate label Nov 16, 2022
This was referenced Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate: lib Related to the lib crate enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant