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
c-scape's read family of functions use slice::from_raw_parts_mut to form a slice from the pointer and length passed to read. This has UB in the case where the buffer is uninitialized.
Rustix has an open issue tracking the need to provide safe Rust APIs for reading into uninitialized buffers.
The text was updated successfully, but these errors were encountered:
c-scape's
read
family of functions useslice::from_raw_parts_mut
to form a slice from the pointer and length passed toread
. This has UB in the case where the buffer is uninitialized.Rustix has an open issue tracking the need to provide safe Rust APIs for reading into uninitialized buffers.
The text was updated successfully, but these errors were encountered: