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
Also, as all of the fields of StivaleTerminalTag::write are public, a user could create such a tag with a 0 in the term_write_addr slot, and call term_write on it, causing immediate undefined behaviour by violating the validity invariant of extern"C" fn(*mut u8,u64) (null function pointer).
https://github.com/Andy-Python-Programmer/stivale/blob/master/src/v2/tag.rs#L88 indicates a safety comment of
but it's applied to a safe by-shared-reference reciever method of a
Sync
type, making this unsound.The text was updated successfully, but these errors were encountered: