Versions/Environment
- What version of Rust are you using?
Rust 1.65
- What operating system are you using?
N/A
- What versions of the driver and its dependencies are you using? (Run
cargo pkgid mongodb & cargo pkgid bson)
Driver v2.3.1
- What version of MongoDB are you using? (Check with the MongoDB shell using
db.version())
N/A
- What is your MongoDB topology (standalone, replica set, sharded cluster, serverless)?
N/A
Describe the bug
There is a potential memory leak in take_mut, which I noted from 2 issues filed with cargo-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.
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
unsafecode.https://github.com/yvt/crev-proofs and https://github.com/vorner/crev-proofs both reported issues.