Closed
Description
Hi there, we (Rust group @sslab-gatech) are scanning crates on crates.io for potential soundness bugs. We noticed that the Index
object implements the Send
and Sync
traits for all types:
Lines 61 to 62 in b279bc2
This should likely be bounded when both K
and V
are Send
and Sync
respectively, otherwise it makes it possible to send an Index
object across threads containing non-Sendable types such as an Rc
object or a Cell
.
Metadata
Metadata
Assignees
Labels
No labels