-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Please, release a new version #7
Comments
@reem This is currently the subject of a security advisory. Would you consider addressing this? |
Because it seems this repository is unmaintained, I have forked it with the submitted patches and issues merged here: https://github.com/philip-peterson/destructure_traitobject |
@reem Hi, would you consider make a new release for this? There are many creates depending on this. |
+1 |
As a workaround, put this in [patch.crates-io]
traitobject = { git = "https://github.com/reem/rust-traitobject", rev = "b3471a15917b2caf5a8b27debb0b4b390fc6634f" } to pull in the merged-but-never-released-on-cargo fix |
AAAAAAAAAAAAAAAAA rust-lang/cargo#9227 AAAAAAAAAAAAAAAAAAAAAAAAAAAA reem/rust-traitobject#7 AAAAAAAAAAAAAAAAAAAAA rwf2/Rocket#1815 and updated libs and fixed deprecation warnings from chrono
I've re-forked Similar to @shelvacu 's previous workaround, put this in the top
I'll do my best to keep it updated. This fork also fixes warnings for Rust 2021 edition as identified in #8. See https://github.com/fralalonde/traitobject_patch for details. |
The implementation of the
data
anddata_mut
functions is highly unsafe:rust-traitobject/src/lib.rs
Lines 13 to 22 in a8a36dc
This assumes that the first element is a fat pointer is the data pointer. This is currently true, but it can change in a newer rust version, which would make this crate a potential security hole.
Commit 99b1993 fixed this, but it has not been released into a new version. Please, publish a new version (0.1.1) that includes this commit (and possibly yank the previous versions).
The text was updated successfully, but these errors were encountered: