Skip to main content
Menu
Advisories

Potential segfault in localtime_r invocations

RUSTSEC-2020-0159Published Updated RustSec

Description

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

Workarounds

No workarounds are known.

References

Affected versions

References

crates.io

rustsec.org

GitHub · chronotope/chrono