GHSA-8gj8-hv75-gp94
JSON

medium

`SegQueue` creates zero value of any type

Severity
medium rating by GitHub
Published
Last changed
Also known as
RUSTSEC-2022-0020

Description

Affected versions of this crate called mem::zeroed() to create values of a user-supplied type T. This is unsound e.g. if T is a reference type (which must be non-null).

The flaw was corrected by avoiding the use of mem::zeroed(), using MaybeUninit instead.

Affected

Product or packageVersionsReported by
crossbeam (crates.io)before 0.7.0, from 0.0.0-0 before 0.7.0GitHub Advisory Database, RustSec Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-8gj8-hv75-gp94 changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2022-0020 changed 2023-11-08CC0-1.0