HistoryEditJSON (OSV)

RUSTSEC-2021-0152

out_reference::Out::from_raw should be unsafe

Reported
Issued
Package
out-reference (crates.io)
Type
INFO Unsound
Categories
Keywords
#unsound #raw-pointer
Aliases
References
Patched
  • >=0.2.0
Unaffected
  • <0.1.0
Affected Functions
Version
out_reference::Out::from_raw
  • >=0.1.0, <0.2.0

Description

Out::from_raw in affected versions allows writing a value to invalid memory address without requiring unsafe.

The soundness issue has been addressed by making Out::from_raw an unsafe function.

Advisory available under CC0-1.0 license.