`out_reference::Out::from_raw` should be `unsafe`
Moderate severity
GitHub Reviewed
Published
Mar 13, 2023
to the GitHub Advisory Database
•
Updated Mar 13, 2023
Description
Published to the GitHub Advisory Database
Mar 13, 2023
Reviewed
Mar 13, 2023
Last updated
Mar 13, 2023
Out::from_raw
in affected versions allows writing a value to invalid memory address without requiringunsafe
.The soundness issue has been addressed by making
Out::from_raw
an unsafe function.References