Reference returned by some methods of Ref
(and similar types) may outlive the Ref
and escape the lock.
This causes undefined behavior and may result in a segfault.
More information in dashmap#167
issue.
{ "license": "CC0-1.0" }
{ "affected_functions": null, "affects": { "os": [], "functions": [ "dashmap::mapref::multiple::RefMulti::key", "dashmap::mapref::multiple::RefMulti::pair", "dashmap::mapref::multiple::RefMulti::value", "dashmap::mapref::multiple::RefMutMulti::key", "dashmap::mapref::multiple::RefMutMulti::pair", "dashmap::mapref::multiple::RefMutMulti::pair_mut", "dashmap::mapref::one::Ref::key", "dashmap::mapref::one::Ref::pair", "dashmap::mapref::one::Ref::value", "dashmap::mapref::one::RefMut::key", "dashmap::mapref::one::RefMut::pair", "dashmap::mapref::one::RefMut::pair_mut", "dashmap::setref::multiple::RefMulti::key", "dashmap::setref::one::Ref::key" ], "arch": [] } }