RUSTSEC-2020-0096

TreeFocus lacks bounds on its Send and Sync traits

Issued
Package
im (crates.io)
Type
Unsound
Categories
  • thread-safety
Aliases
Details
https://github.com/bodil/im-rs/issues/157
Patched
no patched versions
Unaffected
  • <12.0.0

Description

Affected versions of im contains TreeFocus that unconditionally implements Send and Sync.

This allows a data race in safe Rust code if TreeFocus is extracted from Focus type. Typical users that only use Focus type are not affected.

More