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
It is impossible to prevent an incorrect remote process from triggering UB in the local process.
Like mmap and /proc/self/mem, such a situation is out of the control of Rust language.
Put an unsafe function on the way from network connections to active RDMA connections.
The function means "trust the remote process" while it is impossible to check whether the remote process is correct actually.
It is impossible to prevent an incorrect remote process from triggering UB in the local process.
Like
mmap
and/proc/self/mem
, such a situation is out of the control of Rust language.There are two solutions:
Like Document Rust's stance on
/proc/self/mem
rust-lang/rust#97837The function means "trust the remote process" while it is impossible to check whether the remote process is correct actually.
Timeout from single side is still unsound because UB may happen when system time goes back.
Related:
The text was updated successfully, but these errors were encountered: