You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comments document an RwLock for concurrent access control, but CAGE_MAP is a bare static mut Vec<Option<Arc<Cage>>>. No lock exists. Concurrent Option::take and Arc::clone from different threads is a data race.
src/cage/src/cage.rs:265-273Comments document an
RwLockfor concurrent access control, butCAGE_MAPis a barestatic mut Vec<Option<Arc<Cage>>>. No lock exists. ConcurrentOption::takeandArc::clonefrom different threads is a data race.