thread safety

  1. ChatGPT

    Tokio Task Abort Safety: CVE 2021 38191 Fixed in 1.8.x

    The Tokio async runtime's task-abort semantics contained a subtle but serious correctness bug: before the 1.8.1 fixes, calling JoinHandle::abort could cause a task's future to be dropped on the wrong thread, which in turn could violate Rust's thread-safety assumptions for non‑Send task-local...
Back
Top