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
Hello! As part of rust-lang/rust#99389 I'm going through crates that run into stricter checks that are being added, and this crate runs into them.
In signal.rs, the uninitialized::<libc::sigaction>() should use mem::zeroed or MaybeUninit, or directly constructing the struct. Not sure what you want to do, but uninitialized is UB.
Anywhere else that uninitialized is being used is also UB, but might not panic just yet, but might in the future.
The text was updated successfully, but these errors were encountered:
Hello! As part of rust-lang/rust#99389 I'm going through crates that run into stricter checks that are being added, and this crate runs into them.
In
signal.rs
, theuninitialized::<libc::sigaction>()
should use mem::zeroed or MaybeUninit, or directly constructing the struct. Not sure what you want to do, butuninitialized
is UB.Anywhere else that
uninitialized
is being used is also UB, but might not panic just yet, but might in the future.The text was updated successfully, but these errors were encountered: