lexical-core has multiple soundness issues
Low severity
GitHub Reviewed
Published
Sep 16, 2024
to the GitHub Advisory Database
•
Updated Sep 16, 2024
Description
Published to the GitHub Advisory Database
Sep 16, 2024
Reviewed
Sep 16, 2024
Last updated
Sep 16, 2024
RUSTSEC-2024-0377
contains multiple soundness issues:BytesIter
trait has safety invariants but is public and not markedunsafe
write_float()
callsMaybeUninit::assume_init()
on uninitialized data, which is is not allowed by the Rust abstract machineradix()
callsMaybeUninit::assume_init()
on uninitialized data, which is is not allowed by the Rust abstract machineVersion 1.0 fixes these issues, removes the vast majority of
unsafe
code, and also fixes some correctness issues.References