-
Notifications
You must be signed in to change notification settings - Fork 27
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
UB and usage of deprecated function #59
Comments
Specifically, the bug is here: Line 492 in 972c854
The |
I think #47 fixes this. I asked @jonathanstrong to make it apply without conflicts and I will merge it. |
|
The master version still panics when running the tests. The |
earlier this week I spoke to @alkis about this and plan to be taking a bigger role on the project. I have some time slotted to work on this next week and merging |
Those are great news! and thanks for the quick reply |
@jonathanstrong Is anything missing from |
@probablykasper I don't think so - I've also been using in production for months. just wanted to give it a good once-over before merging it here. |
@probablykasper @CastilloDel quick update on this: I merged |
@probablykasper @CastilloDel just published version 2.1.0 of the crate, which fixes the uninitialized issue. |
Switch back to official `decimal` because alkis/decimal#59 is fixed
Found this crate via a a crater run (crater is a tool that runs a specific branch of rustc against locked dependencies of specific crates to figure out regressions in the compiler or in potential usages in applications).
This crate uses the
std::mem:uninitliazed
method which is not only deprecated but also could be unsound as per a similar advisory for another crate.If you wish to continue maintaining it, it will be adisable to fix this issue and publish a new release. Else you could possibly hand it over to a new set of maintainers (can help you with that) or publish a note that it is abandoned/deprecated/won't be maintained in the future since it has around 10 open source crates that depend on it.
If you need any help in going about this, you can let us know
Thanks :)
The text was updated successfully, but these errors were encountered: