News for hackers. Stuff that matters.
Re:Smoltcp: A small TCP/IP stack in Rust by twanvl on Thursday June 20, 2019 @09:16AM (#20232573)
In something like a TCP/IP stack correctness is strongly related to safety. For example, it could be perfectly memory safe, but deliver packets to the wrong address, allow other programs to read all traffic, or allow easy denial-of-service attacks.
Re:Smoltcp: A small TCP/IP stack in Rust by taneq on Thursday June 20, 2019 @06:08PM (#20237887)
I realise we didn't define "safe" before we started, but I didn't just mean memory safety. Agreed that all of your examples would be incorrect, I'd just also term all of them as also unsafe.

An example of something that's incorrect but not unsafe would be, say, an error which would occasionally corrupt random TCP packets causing checksums to fail and the packets to be retransmitted. It's not working how it should, but it's not compromising your system's security or your data's safety (at least I don't think it is).