Data races in tiny_future
High severity
GitHub Reviewed
Published
Aug 25, 2021
to the GitHub Advisory Database
•
Updated Jun 13, 2023
Description
Reviewed
Aug 5, 2021
Published to the GitHub Advisory Database
Aug 25, 2021
Last updated
Jun 13, 2023
tiny_futurecontains a light-weight implementation ofFutures. TheFuturetype it has lacked bound on itsSendandSynctraits. This allows for a bug where non-thread safe types such asCellcan be used inFutures and cause data races in concurrent programs. The flaw was corrected in commitc791919by adding trait bounds toFuture'sSendandSync.References