-
Notifications
You must be signed in to change notification settings - Fork 167
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
RUST-1545 Consider removing the take_mut dependency #776
Comments
Hi @seanpianka, thank you for bringing this to our attention! The only method from
Can you please expand upon this? Is this just in reference to the Regardless of whether we're using unproven |
I'll repost the relevant content from the two issues raised about
Food for thought, although good to know that the driver doesn't use |
take_mut
dependencytake_mut
dependency
take_mut
dependency
Versions/Environment
Rust 1.65
N/A
cargo pkgid mongodb
&cargo pkgid bson
)Driver v2.3.1
db.version()
)N/A
N/A
Describe the bug
There is a potential memory leak in
take_mut
, which I noted from 2 issues filed withcargo-crev
. A pull request with a fix was opened several years ago and it hasn't been merged yet, so the repository might also be rightly considered abandoned.Is this dependency necessary? Something to consider, as it also uses unproven
unsafe
code.https://github.com/yvt/crev-proofs and https://github.com/vorner/crev-proofs both reported issues.
The text was updated successfully, but these errors were encountered: