HistoryEditJSON (OSV)

RUSTSEC-2022-0008

Delegate functions are missing Send bound

Reported
Issued
Package
windows (crates.io)
Type
INFO Unsound
Categories
Aliases
References
Patched
  • >=0.32.0
Unaffected
  • <0.1.2
Affected OSes
  • windows

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 by adding Send bounds.

Advisory available under CC0-1.0 license.