Skip to content
OpenAdvisories
Critical · 9.8 GHSA-x4mq-m75f-mx8m RUSTSEC-2022-0008

Delegate functions are missing `Send` bound

Published Jun 17, 2022 · Updated Nov 8, 2023 · Assigned by GHSA

Description

Affected versions of this crate did not require event handlers to have `Send` bound despite there being no guarantee of them being called on any particular thread, which can potentially lead to data races and undefined behavior.

The flaw was corrected in commit [afe3252](https://github.com/microsoft/windows-rs/commit/afe32525c22209aa8f632a0f4ad607863b51796a) by adding `Send` bounds.

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io windows >= 0.1.2, < 0.32.0 0.32.0 GHSA-x4mq-m75f-mx8m

References