Aliased mutable references from `tls_rand` & `TlsWyRand`
Moderate severity
GitHub Reviewed
Published
Jun 17, 2022
to the GitHub Advisory Database
•
Updated Jun 13, 2023
Description
Published to the GitHub Advisory Database
Jun 17, 2022
Reviewed
Jun 17, 2022
Last updated
Jun 13, 2023
TlsWyRand
's implementation ofDeref
unconditionally dereferences a raw pointer, and returnsmultiple mutable references to the same object, which is undefined behavior.
References