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
The usual fix is to not have an intermediate usize and use any pointer type instead. I'm not making a PR to fix this because the last commit to this repo was 8 years ago, but this did show up in a crater run: rust-lang/rust#121282
The text was updated successfully, but these errors were encountered:
Rust has Provenance so this transmute of an integer to a pointer then read through that pointer is UB, because integers cannot carry provenance:
context_bind/src/lib.rs
Lines 198 to 201 in 42c4fb2
The usual fix is to not have an intermediate
usize
and use any pointer type instead. I'm not making a PR to fix this because the last commit to this repo was 8 years ago, but this did show up in a crater run: rust-lang/rust#121282The text was updated successfully, but these errors were encountered: