At the least it should have a prominent “for entertainment purposes only”, except it fails that purpose, too
At the least it should have a prominent “for entertainment purposes only”, except it fails that purpose, too
Thanks, I understand the problem with using memory after it’s been freed and possibly access it changed by another part of the process. I guess I was confused by the double free explanation I read, which didn’t really say how it could be exploited, but I think you are right it still needs to be accessed later by the original program, which would not happen in Rust.
Thank you, that is very clear.
The way I understand it, it is a bug in C implementation of free() that causes it to do something weird when you call it twice on the same memory. Maybe In Rust you can never call free twice, so you would never come across this bug. But, also Rust probably doesn’t have the same bug.
My point is it seems it is a bug in the underlying implementation of free(), not to be caught by the compiler, and can’t Rust have such errors no matter its superior design?
So is original phishing supposed to be over the phone? Like it’s the email game called emishing or something?