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

Remove most unsafe code #28

Open
DemiMarie opened this issue Nov 10, 2024 · 1 comment
Open

Remove most unsafe code #28

DemiMarie opened this issue Nov 10, 2024 · 1 comment

Comments

@DemiMarie
Copy link

Most unsafe code should (eventually) be replace with safe code to provide Rust’s security benefits.

@folkertdev
Copy link
Collaborator

We have, though for compatibility with the libbz2 interface, some unsafe is necessary. When compiled with the stdio flag turned off, the amount of unsafe is really very modest (mostly centering around input/output buffers and a custom memory allocator).

Is there anything else you had in mind?

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