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
Discovered in #2799 (comment). Currently reading, writing, or even getting a machine::streams::Stream::Null crashes the process with a SIGSEGV (invalid memory access, in this case dereferencing a null pointer). This is (caused by) UB, and it's worse than just panicking.
Ideally null streams would work like piping to and from /dev/null in UNIXes: writes are ignored and reads are always EOF.
The text was updated successfully, but these errors were encountered:
Discovered in #2799 (comment). Currently reading, writing, or even getting a
machine::streams::Stream::Null
crashes the process with aSIGSEGV
(invalid memory access, in this case dereferencing a null pointer). This is (caused by) UB, and it's worse than just panicking.Ideally null streams would work like piping to and from
/dev/null
in UNIXes: writes are ignored and reads are always EOF.The text was updated successfully, but these errors were encountered: