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
Fix use-after-free on panic during ArcWake::wake_by_ref
Wrap temporary `Arc<>`s in `ManuallyDrop` early instead of calling
`forget()` later: that way even during unwinding for panics it doesn't
drop the refcount it doesn't actually own.
Also it means `wake_by_ref` doesn't need an unwind section anymore.
Same thing in `increase_refcount` (although `Arc::clone` should only abort,
not unwind).
0 commit comments