by vlovich123 · 1w ago · 0 comments
I'm not making a Rust advocacy argument. I'm just saying: it's true that integer handling issues are endemic to mainstream programming languages, but the integer handling itself is almost never the actual sharp end of the vulnerability.
You're right it's more rare but the results can still be catastrophic.
Integer handling mistake -> memory corruption -> RCE.
That's the pattern. In a memory-safe language, the integer handling error has no link to memory corruption (though it will to other logic bugs!).
Why would CPU designers make a trap if languages do not require it?
"Go fast and get your things broken into"