4 ms·
Every study on security vulnerabilities has shown that "just don't screw up bro" doesn't scale. Even if we ignore the absolute clown move of having no bounds c
by sirwhinesalot 2y ago
Every study on security vulnerabilities has shown that "just don't screw up bro" doesn't scale.
Even if we ignore the absolute clown move of having no bounds checks by default (and std::span doesn't have them at all), it's very easy to get into trouble with anything involving C++ iterators and references.
- moralestapia 2y ago>Every study on security vulnerabilities has shown that "just don't screw up bro" doesn't scale. Let's see them.
- sirwhinesalot 2y agoWell, ignoring all the reports from google, microsoft and mozilla, all of whom are part of a cabal spreading misinformation on the percentage of vulnerabilities caused by memory unsafety in C++ (all 3 arrived at around 70% so it's clearly a made up number they colluded to spread), and ignoring the reports from the United States government (probably infiltrated by rust cultists), I can recommend the paper Memory Errors: The Past, the Present, and the Future
- ModernMech 2y agoAre you being sarcastic? I genuinely cannot tell.
- sirwhinesalot 2y agoYes, except for the legitimate paper recommendation.