cxx
Affected
- introduced
0.0.0-0, fixed1.0.195(semver)
Fixed versions
1.0.195
Fix
- Fixed version
1.0.195cargo update -p cxx --precise 1.0.195
Advisory
Also known as: None
let_cxx_string! uses uninitialized value due to exception safety violations
In affected versions of this crate, let_cxx_string! is not exception safe. After creating the StackString, if match $value panics, the content of StackString is not yet initialized, while the drop implementation of StackString unconditionally deinitializes the content, leading to use of uninitialized value.
The soundness issue was fixed in version 1.0.195 by moving drop logics to separate drop guard after initializing the StackString.
Not rated by the source.
0.0.0-0, fixed 1.0.195 (semver)1.0.195
1.0.195cargo update -p cxx --precise 1.0.195Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0